phpunit update
This commit is contained in:
parent
5153f6ea17
commit
74d8210b01
|
@ -5,3 +5,4 @@
|
|||
/vendor/
|
||||
/composer.lock
|
||||
/code-coverage/
|
||||
/.phpunit.result.cache
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"require-dev" : {
|
||||
"phpunit/phpunit" : "5.7.27",
|
||||
"phpunit/phpunit" : "8.5.2",
|
||||
"squizlabs/php_codesniffer" : "3.4.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -80,7 +80,7 @@ class WebauthnProviderTest extends TestCase {
|
|||
$row->generateHTML(null, array(), array(), false, $tabindex, 'none');
|
||||
$html = ob_get_contents();
|
||||
ob_end_clean();
|
||||
$this->assertContains('skip_webauthn', $html);
|
||||
$this->assertStringContainsString('skip_webauthn', $html);
|
||||
}
|
||||
|
||||
}
|
|
@ -53,7 +53,6 @@ class WebauthnManagerTest extends TestCase {
|
|||
->getMock();
|
||||
$this->database->method('findOneByCredentialId')->willReturn(null);
|
||||
$this->database->method('findAllForUserEntity')->willReturn(array());
|
||||
$this->database->method('saveCredentialSource')->willReturn(true);
|
||||
|
||||
$this->manager = $this
|
||||
->getMockBuilder(WebauthnManager::class)
|
||||
|
|
Loading…
Reference in New Issue