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:
Ingo Schommer 2010-04-12 03:27:27 +00:00
parent c077c77c25
commit 723106899f

View File

@ -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());
}
}
}