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