diff --git a/tests/tasks/EncryptAllPasswordsTaskTest.php b/tests/tasks/EncryptAllPasswordsTaskTest.php index 3eb7aa30b..714cd4d80 100644 --- a/tests/tasks/EncryptAllPasswordsTaskTest.php +++ b/tests/tasks/EncryptAllPasswordsTaskTest.php @@ -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()); } -} \ No newline at end of file +}