Fixes Assertion for older Laravel version.
This commit is contained in:
@@ -186,6 +186,6 @@ class CreatorTest extends TestCase
|
|||||||
'public_key' => 'test',
|
'public_key' => 'test',
|
||||||
])->save();
|
])->save();
|
||||||
|
|
||||||
$this->response()->assertJsonMissingPath('excludeCredentials');
|
$this->response()->assertJsonMissing(['excludeCredentials']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user