TC
Size: a a a
TC
L
A
A
TC
L
П
TC
П
П
TC
LA
public function user_can_submit_phone()
{
Redis::shouldReceive('get')->once()->with('phone:79996264513')->andReturn('1234');
Redis::shouldReceive('del')->once()->with('phone:79996264513')->andReturn('1');
Redis::shouldReceive('set')->once()->with('phone_valid:79996264513', 1)->andReturn('1');
Redis::shouldReceive('expire')->once()->with('phone_valid:79996264513', 600)->andReturn('1');
$this->postJson('/auth/phone', ['phone' => '79996264513', 'code' => '1234'])
->assertStatus(200);
}
Mockery\Exception\InvalidCountException: Method get("phone:79996264513") from Mockery_0_Illuminate_Redis_RedisManager should be called exactly 1 times but called 0 times.
. Кто-нить с таким сталкивался? Что это может значить?ВБ
ВБ
Ю🎖
П
Ю🎖
П
ВБ
Ю🎖