GitLab Commit is coming up on August 3-4. Learn how to innovate together using GitLab, the DevOps platform. Register for free:

Commit af3c0bce authored by Guy Thouret's avatar Guy Thouret
Browse files

(fix) ActiveUsersQueryBuilder Spec test is only successful with a specific base time - #590

parent 96748a37
Pipeline #82719088 passed with stages
in 11 minutes and 37 seconds
......@@ -14,8 +14,9 @@ class ActiveUsersQueryBuilderSpec extends ObjectBehavior
public function it_should_produce_a_valid_query()
$from = strtotime('midnight -2 days');
$to = strtotime('midnight');
$referenceTime = 1568246400;
$from = strtotime('midnight -2 days', $referenceTime);
$to = strtotime('midnight', $referenceTime);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment