Commit 2acc61f0 authored by Mark Harding's avatar Mark Harding

(fix): test against using seconds vs ms

1 merge request!100Epic/reporting and moderation
Pipeline #61682975 passed with stages
in 5 minutes and 13 seconds
......@@ -63,8 +63,8 @@ class RepositorySpec extends ObjectBehavior
$this->cql->request(Argument::that(function($prepared) {
$values = $prepared->build()['values'];
return $values[0]->value() == 123
&& round($values[1]->time(), 5) == round(strtotime('-90 days') * 1000, 5)
&& round($values[2]->time(), 5) == round(time() * 1000, 5);
&& round($values[1]->time(), 5) == round(strtotime('-90 days'), 5)
&& round($values[2]->time(), 5) == round(time(), 5);
}))
->shouldBeCalled()
->willReturn([
......
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