diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/Lib/MessageFilterTest.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unit/Lib/MessageFilterTest.php b/tests/unit/Lib/MessageFilterTest.php index e1b6d8476..0a2aea0c6 100644 --- a/tests/unit/Lib/MessageFilterTest.php +++ b/tests/unit/Lib/MessageFilterTest.php @@ -12,6 +12,9 @@ class MessageFilterTest extends UnitTestCase { * @dataProvider evaluate_provider */ public function test_evaluate(string $incl, string $excl, bool $result) : void { + // This is for simpler handling of the timestamps + date_default_timezone_set('UTC'); + $item = [ 'title' => '', 'body' => "A grasshopper spent the summer hopping about in the sun and singing to his heart's content. One day, an ant went hurrying by, looking very hot and weary.\r\n#story #grasshopper #ant", |