@@ -206,15 +206,17 @@ public function testSearchImportAggregator(): void
206206 $ commandTester = new CommandTester ($ command );
207207 $ return = $ commandTester ->execute (['--indices ' => $ this ->index ->getUid ()]);
208208
209- $ this ->assertSame ('Importing for index Meilisearch\Bundle\Tests\Entity\Post
210- Indexed a batch of 6 / 6 Meilisearch\Bundle\Tests\Entity\Post entities into sf_phpunit__posts index (6 indexed since start)
211- Indexed a batch of 6 / 6 Meilisearch\Bundle\Tests\Entity\Post entities into sf_phpunit__aggregated index (6 indexed since start)
209+ $ this ->assertSame (<<<'EOD'
210+ Importing for index Meilisearch\Bundle\Tests\Entity\Post
212211Setting "stopWords" updated of "sf_phpunit__posts".
213212Setting "filterableAttributes" updated of "sf_phpunit__posts".
214213Setting "searchCutoffMs" updated of "sf_phpunit__posts".
215214Setting "typoTolerance" updated of "sf_phpunit__posts".
215+ Indexed a batch of 6 / 6 Meilisearch\Bundle\Tests\Entity\Post entities into sf_phpunit__posts index (6 indexed since start)
216+ Indexed a batch of 6 / 6 Meilisearch\Bundle\Tests\Entity\Post entities into sf_phpunit__aggregated index (6 indexed since start)
216217Done!
217- ' , $ commandTester ->getDisplay ());
218+
219+ EOD, $ commandTester ->getDisplay ());
218220
219221 $ this ->assertSame (0 , $ return );
220222 }
@@ -262,12 +264,12 @@ public function testImportingIndexNameWithAndWithoutPrefix(): void
262264
263265 $ this ->assertSame (<<<'EOD'
264266Importing for index Meilisearch\Bundle\Tests\Entity\Post
265- Indexed a batch of 6 / 6 Meilisearch\Bundle\Tests\Entity\Post entities into sf_phpunit__posts index (6 indexed since start)
266- Indexed a batch of 6 / 6 Meilisearch\Bundle\Tests\Entity\Post entities into sf_phpunit__aggregated index (6 indexed since start)
267267Setting "stopWords" updated of "sf_phpunit__posts".
268268Setting "filterableAttributes" updated of "sf_phpunit__posts".
269269Setting "searchCutoffMs" updated of "sf_phpunit__posts".
270270Setting "typoTolerance" updated of "sf_phpunit__posts".
271+ Indexed a batch of 6 / 6 Meilisearch\Bundle\Tests\Entity\Post entities into sf_phpunit__posts index (6 indexed since start)
272+ Indexed a batch of 6 / 6 Meilisearch\Bundle\Tests\Entity\Post entities into sf_phpunit__aggregated index (6 indexed since start)
271273Done!
272274
273275EOD, $ commandTester ->getDisplay ());
@@ -291,12 +293,12 @@ public function testImportingIndexNameWithAndWithoutPrefix(): void
291293 $ output = $ commandTester ->getDisplay ();
292294 $ this ->assertSame (<<<'EOD'
293295Importing for index Meilisearch\Bundle\Tests\Entity\Post
294- Indexed a batch of 6 / 6 Meilisearch\Bundle\Tests\Entity\Post entities into sf_phpunit__posts index (6 indexed since start)
295- Indexed a batch of 6 / 6 Meilisearch\Bundle\Tests\Entity\Post entities into sf_phpunit__aggregated index (6 indexed since start)
296296Setting "stopWords" updated of "sf_phpunit__posts".
297297Setting "filterableAttributes" updated of "sf_phpunit__posts".
298298Setting "searchCutoffMs" updated of "sf_phpunit__posts".
299299Setting "typoTolerance" updated of "sf_phpunit__posts".
300+ Indexed a batch of 6 / 6 Meilisearch\Bundle\Tests\Entity\Post entities into sf_phpunit__posts index (6 indexed since start)
301+ Indexed a batch of 6 / 6 Meilisearch\Bundle\Tests\Entity\Post entities into sf_phpunit__aggregated index (6 indexed since start)
300302Done!
301303
302304EOD, $ commandTester ->getDisplay ());
@@ -393,11 +395,11 @@ public function testImportWithDynamicSettings(): void
393395
394396 $ this ->assertSame (<<<'EOD'
395397Importing for index Meilisearch\Bundle\Tests\Entity\DynamicSettings
396- Indexed a batch of 6 / 6 Meilisearch\Bundle\Tests\Entity\DynamicSettings entities into sf_phpunit__dynamic_settings index (6 indexed since start)
397398Setting "filterableAttributes" updated of "sf_phpunit__dynamic_settings".
398399Setting "searchableAttributes" updated of "sf_phpunit__dynamic_settings".
399400Setting "stopWords" updated of "sf_phpunit__dynamic_settings".
400401Setting "synonyms" updated of "sf_phpunit__dynamic_settings".
402+ Indexed a batch of 6 / 6 Meilisearch\Bundle\Tests\Entity\DynamicSettings entities into sf_phpunit__dynamic_settings index (6 indexed since start)
401403Done!
402404
403405EOD, $ importOutput );
@@ -432,14 +434,14 @@ public function testImportUpdatesSettingsOnce(): void
432434
433435 $ this ->assertSame (<<<'EOD'
434436Importing for index Meilisearch\Bundle\Tests\Entity\Post
435- Indexed a batch of 2 / 2 Meilisearch\Bundle\Tests\Entity\Post entities into sf_phpunit__posts index (2 indexed since start)
436- Indexed a batch of 2 / 2 Meilisearch\Bundle\Tests\Entity\Post entities into sf_phpunit__aggregated index (2 indexed since start)
437- Indexed a batch of 2 / 2 Meilisearch\Bundle\Tests\Entity\Post entities into sf_phpunit__posts index (4 indexed since start)
438- Indexed a batch of 2 / 2 Meilisearch\Bundle\Tests\Entity\Post entities into sf_phpunit__aggregated index (4 indexed since start)
439437Setting "stopWords" updated of "sf_phpunit__posts".
440438Setting "filterableAttributes" updated of "sf_phpunit__posts".
441439Setting "searchCutoffMs" updated of "sf_phpunit__posts".
442440Setting "typoTolerance" updated of "sf_phpunit__posts".
441+ Indexed a batch of 2 / 2 Meilisearch\Bundle\Tests\Entity\Post entities into sf_phpunit__posts index (2 indexed since start)
442+ Indexed a batch of 2 / 2 Meilisearch\Bundle\Tests\Entity\Post entities into sf_phpunit__aggregated index (2 indexed since start)
443+ Indexed a batch of 2 / 2 Meilisearch\Bundle\Tests\Entity\Post entities into sf_phpunit__posts index (4 indexed since start)
444+ Indexed a batch of 2 / 2 Meilisearch\Bundle\Tests\Entity\Post entities into sf_phpunit__aggregated index (4 indexed since start)
443445Done!
444446
445447EOD, $ importOutput );
0 commit comments