mirror of
https://github.com/silverstripe/silverstripe-behat-extension
synced 2024-10-22 15:05:32 +00:00
New "password should be" step
This commit is contained in:
parent
4aef64a789
commit
9b34e635d8
@ -168,6 +168,6 @@ class LoginContext extends BehatContext
|
||||
{
|
||||
$member = \Member::get()->filter('Email', $id)->First();
|
||||
assertNotNull($member);
|
||||
assertTrue($member->checkPassword($password));
|
||||
assertTrue($member->checkPassword($password)->valid());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user