MDL-46986 mod_assign: Change the asserting to false
[moodle.git] / mod / assign / tests / locallib_test.php
index e2f6ea0..9287184 100644 (file)
@@ -1869,7 +1869,7 @@ Anchor link 2:<a title=\"bananas\" href=\"../logo-240x60.gif\">Link text</a>
         $this->setUser($manager);
         $gradingtable = new assign_grading_table($assign, 1, '', 0, true);
         $output = $assign->get_renderer()->render($gradingtable);
-        $this->assertEquals(true, strpos($output, get_string('hiddenuser', 'assign')));
+        $this->assertEquals(false, strpos($output, get_string('hiddenuser', 'assign')));
         $this->assertEquals(true, strpos($output, fullname($student)));    //students full name doesn't appear.
     }
 }