diff --git a/admin/tool/messageinbound/tests/manager_test.php b/admin/tool/messageinbound/tests/manager_test.php
index <HASH>..<HASH> 100644
--- a/admin/tool/messageinbound/tests/manager_test.php
+++ b/admin/tool/messageinbound/tests/manager_test.php
@@ -58,7 +58,7 @@ class tool_messageinbound_manager_testcase extends provider_testcase {
         global $DB;
 
         $now = time();
-        $stale = time() - DAYSECS;
+        $stale = $now - DAYSECS - 1;    // Make a second older because PHP Unit is too damn fast!!
 
         $this->create_messagelist(['timecreated' => $now]);
         $this->create_messagelist(['timecreated' => $now - HOURSECS]);
MDL-<I> tool_messageinbound: False negative due to time() usage

PHP Unit is so fast that my test couldn't cope with it!