Skip to content

Commit

Permalink
test: fix test timezone
Browse files Browse the repository at this point in the history
  • Loading branch information
bednic committed Oct 15, 2020
1 parent 9a57232 commit d5083c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Uri/Filtering/ExpressionFilterParserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function testParse()
);
$up->setFilterParser($parser);
$this->assertEquals(
"((getter.stringProperty = 'O''Neil' AND getter.stringProperty LIKE '%asdf%') AND getter.intProperty IN(1, 2, 3)) OR ((getter.boolProperty <> true AND relation.property IS NULL) AND getter.stringProperty = '2018-12-01T00:00:00+00:00')",
"((getter.stringProperty = 'O''Neil' AND getter.stringProperty LIKE '%asdf%') AND getter.intProperty IN(1, 2, 3)) OR ((getter.boolProperty <> true AND relation.property IS NULL) AND getter.stringProperty = '2018-12-01T00:00:00+01:00')",
(string)$up->getFilter()->getCondition()
);
$this->assertArrayHasKey('relation', $up->getFilter()->getRequiredJoins());
Expand Down

0 comments on commit d5083c4

Please sign in to comment.