diff --git a/tests/Model/Command/UserRecommendationTest.php b/tests/Model/Command/UserRecommendationTest.php index 64ecd3f..523208c 100644 --- a/tests/Model/Command/UserRecommendationTest.php +++ b/tests/Model/Command/UserRecommendationTest.php @@ -57,7 +57,7 @@ public function shouldUseCustomParameters(): void 'rotation_time' => $rotationTime, 'hard_rotation' => true, 'min_relevance' => UserRecommendation::MINIMAL_RELEVANCE_HIGH, - 'filter' => 'foo = bar AND baz = ban', + 'filter' => 'foo = bar and baz = ban', ], ], $command->jsonSerialize() @@ -77,13 +77,13 @@ public function shouldAssembleFilters(): void ->addFilter('bar = baz'); $this->assertSame( - 'valid_to >= NOW AND foo = bar AND bar = baz', + 'valid_to >= NOW and foo = bar and bar = baz', $command->jsonSerialize()['parameters']['filter'] ); // Overwrite all filters $command->setFilters(['my_filter = 1', 'other_filter = foo']); - $this->assertSame('my_filter = 1 AND other_filter = foo', $command->jsonSerialize()['parameters']['filter']); + $this->assertSame('my_filter = 1 and other_filter = foo', $command->jsonSerialize()['parameters']['filter']); } }