Fixes Assertion for older Laravel version.

This commit is contained in:
Italo
2022-06-14 05:36:22 -04:00
parent 1b923335d0
commit 818c0e8e04
2 changed files with 2 additions and 2 deletions

View File

@@ -186,6 +186,6 @@ class CreatorTest extends TestCase
'public_key' => 'test', 'public_key' => 'test',
])->save(); ])->save();
$this->response()->assertJsonMissingPath('excludeCredentials'); $this->response()->assertJsonMissing(['excludeCredentials']);
} }
} }

View File

@@ -144,6 +144,6 @@ class AttestationRequestTest extends TestCase
'public_key' => 'test_key', 'public_key' => 'test_key',
]); ]);
$this->postJson('test')->assertJsonMissingPath('excludeCredentials'); $this->postJson('test')->assertJsonMissing(['excludeCredentials']);
} }
} }