fix tests
This commit is contained in:
parent
80444e8d87
commit
f8b86df6af
@ -155,7 +155,7 @@ class FormLoginAuthenticatorTest extends TestCase
|
||||
$passport = $this->authenticator->authenticate($request);
|
||||
$this->assertTrue($passport->hasBadge(PasswordUpgradeBadge::class));
|
||||
$badge = $passport->getBadge(PasswordUpgradeBadge::class);
|
||||
$this->assertEquals('s$cr$t', $badge->getPlaintextPassword());
|
||||
$this->assertEquals('s$cr$t', $badge->getAndErasePlaintextPassword());
|
||||
}
|
||||
|
||||
private function setUpAuthenticator(array $options = [])
|
||||
|
@ -84,6 +84,6 @@ class HttpBasicAuthenticatorTest extends TestCase
|
||||
$passport = $authenticator->authenticate($request);
|
||||
$this->assertTrue($passport->hasBadge(PasswordUpgradeBadge::class));
|
||||
$badge = $passport->getBadge(PasswordUpgradeBadge::class);
|
||||
$this->assertEquals('ThePassword', $badge->getPlaintextPassword());
|
||||
$this->assertEquals('ThePassword', $badge->getAndErasePlaintextPassword());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user