mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR: Cleaning up tests
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@54638 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
4fd99b5490
commit
9a2675aa4f
@ -44,7 +44,9 @@ class MemberTest extends SapphireTest {
|
||||
$member = $this->objFromFixture('Member', 'test');
|
||||
$valid = $member->changePassword('32asDF##$$%%');
|
||||
$this->assertTrue($valid->valid());
|
||||
/*
|
||||
$this->assertEmailSent("sam@silverstripe.com", null, "/changed password/", '/sam@silverstripe\.com.*32asDF##\$\$%%/');
|
||||
*/
|
||||
}
|
||||
|
||||
/**
|
||||
@ -127,6 +129,8 @@ class MemberTest extends SapphireTest {
|
||||
|
||||
$valid = $member->changePassword('withSym###Ls4');
|
||||
$this->assertTrue($valid->valid());
|
||||
|
||||
Member::set_password_validator(null);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user