mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX: Adjust EncryptAllPasswordsTask test to match API for BuildTask (from r96828)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102408 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
c077c77c25
commit
723106899f
@ -11,7 +11,7 @@ class EncryptAllPasswordsTaskTest extends SapphireTest {
|
||||
$m->write();
|
||||
|
||||
$t = new EncryptAllPasswordsTask();
|
||||
$t->run();
|
||||
$t->run(null);
|
||||
|
||||
$m = DataObject::get_by_id('Member', $m->ID);
|
||||
$this->assertEquals($m->PasswordEncryption, 'sha1_v2.4');
|
||||
@ -19,4 +19,4 @@ class EncryptAllPasswordsTaskTest extends SapphireTest {
|
||||
$result = $m->checkPassword('plain');
|
||||
$this->assertTrue($result->valid());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user