diff --git a/tests/Attestation/CreatorTest.php b/tests/Attestation/CreatorTest.php index bfaa857..f44d3d5 100644 --- a/tests/Attestation/CreatorTest.php +++ b/tests/Attestation/CreatorTest.php @@ -186,6 +186,6 @@ class CreatorTest extends TestCase 'public_key' => 'test', ])->save(); - $this->response()->assertJsonMissingPath('excludeCredentials'); + $this->response()->assertJsonMissing(['excludeCredentials']); } } diff --git a/tests/Http/Requests/AttestationRequestTest.php b/tests/Http/Requests/AttestationRequestTest.php index 5e86ab8..2778e4e 100644 --- a/tests/Http/Requests/AttestationRequestTest.php +++ b/tests/Http/Requests/AttestationRequestTest.php @@ -144,6 +144,6 @@ class AttestationRequestTest extends TestCase 'public_key' => 'test_key', ]); - $this->postJson('test')->assertJsonMissingPath('excludeCredentials'); + $this->postJson('test')->assertJsonMissing(['excludeCredentials']); } }