From 74b89ac031229584f1a02cc7053474de59f243d5 Mon Sep 17 00:00:00 2001 From: Frederic Massart Date: Tue, 15 Apr 2014 17:25:46 +0800 Subject: [PATCH] MDL-44941 core: Removing irrelevant assertion causing failures The timemodified property is not called when the user logs in, and so we should not be checking if its value matches the current time. --- lib/tests/moodlelib_test.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/tests/moodlelib_test.php b/lib/tests/moodlelib_test.php index fe3325c2bd1..5ac27b08e8e 100644 --- a/lib/tests/moodlelib_test.php +++ b/lib/tests/moodlelib_test.php @@ -2485,7 +2485,6 @@ class core_moodlelib_testcase extends advanced_testcase { $this->assertTimeCurrent($user->firstaccess); $this->assertTimeCurrent($user->lastaccess); - $this->assertTimeCurrent($user->timemodified); $this->assertTimeCurrent($USER->firstaccess); $this->assertTimeCurrent($USER->lastaccess);