Fixes freezeSecond not being available in older Laravel versions.
This commit is contained in:
@@ -52,7 +52,7 @@ class CreatorTest extends TestCase
|
||||
{
|
||||
config(['webauthn.challenge.timeout' => 120]);
|
||||
|
||||
$this->freezeSecond();
|
||||
$this->travelTo(now()->startOfSecond());
|
||||
|
||||
$this->response()
|
||||
->assertSessionHas('_webauthn', static function (Challenge $challenge): bool {
|
||||
|
||||
Reference in New Issue
Block a user