diff --git a/tests/Unit/AlgoliaEngineTest.php b/tests/Unit/AlgoliaEngineTest.php index 30354fb1..98c991b1 100644 --- a/tests/Unit/AlgoliaEngineTest.php +++ b/tests/Unit/AlgoliaEngineTest.php @@ -167,7 +167,7 @@ public function test_map_correctly_maps_results_to_models() 'nbHits' => 1, 'hits' => [ ['objectID' => 1, 'id' => 1, '_rankingInfo' => ['nbTypos' => 0]], - ] + ], ], $model); $this->assertCount(1, $results); @@ -322,6 +322,6 @@ class AlgoliaCustomKeySearchableModel extends SearchableModel { public function getScoutKey() { - return 'my-algolia-key.' . $this->getKey(); + return 'my-algolia-key.'.$this->getKey(); } } diff --git a/tests/Unit/MeilisearchEngineTest.php b/tests/Unit/MeilisearchEngineTest.php index bdd059ff..ff57c7f9 100644 --- a/tests/Unit/MeilisearchEngineTest.php +++ b/tests/Unit/MeilisearchEngineTest.php @@ -296,7 +296,7 @@ public function test_map_correctly_maps_results_to_models() 'totalHits' => 1, 'hits' => [ ['id' => 1, '_rankingScore' => 0.86], - ] + ], ], $model); $this->assertCount(1, $results); @@ -642,7 +642,7 @@ class MeilisearchCustomKeySearchableModel extends SearchableModel { public function getScoutKey() { - return 'my-meilisearch-key.' . $this->getKey(); + return 'my-meilisearch-key.'.$this->getKey(); } public function getScoutKeyName()