diff --git a/tests/tasks/EncryptAllPasswordsTaskTest.php b/tests/tasks/EncryptAllPasswordsTaskTest.php index c37d35ef6..310205fbe 100644 --- a/tests/tasks/EncryptAllPasswordsTaskTest.php +++ b/tests/tasks/EncryptAllPasswordsTaskTest.php @@ -11,11 +11,11 @@ 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'); $this->assertNotEquals($m->Password, 'plain'); $this->assertTrue($m->checkPassword('plain')); } -} \ No newline at end of file +}