@@ -206,15 +206,17 @@ public function testSearchImportAggregator(): void
206
206
$ commandTester = new CommandTester ($ command );
207
207
$ return = $ commandTester ->execute (['--indices ' => $ this ->index ->getUid ()]);
208
208
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
212
211
Setting "stopWords" updated of "sf_phpunit__posts".
213
212
Setting "filterableAttributes" updated of "sf_phpunit__posts".
214
213
Setting "searchCutoffMs" updated of "sf_phpunit__posts".
215
214
Setting "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)
216
217
Done!
217
- ' , $ commandTester ->getDisplay ());
218
+
219
+ EOD, $ commandTester ->getDisplay ());
218
220
219
221
$ this ->assertSame (0 , $ return );
220
222
}
@@ -262,12 +264,12 @@ public function testImportingIndexNameWithAndWithoutPrefix(): void
262
264
263
265
$ this ->assertSame (<<<'EOD'
264
266
Importing 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)
267
267
Setting "stopWords" updated of "sf_phpunit__posts".
268
268
Setting "filterableAttributes" updated of "sf_phpunit__posts".
269
269
Setting "searchCutoffMs" updated of "sf_phpunit__posts".
270
270
Setting "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)
271
273
Done!
272
274
273
275
EOD, $ commandTester ->getDisplay ());
@@ -291,12 +293,12 @@ public function testImportingIndexNameWithAndWithoutPrefix(): void
291
293
$ output = $ commandTester ->getDisplay ();
292
294
$ this ->assertSame (<<<'EOD'
293
295
Importing 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)
296
296
Setting "stopWords" updated of "sf_phpunit__posts".
297
297
Setting "filterableAttributes" updated of "sf_phpunit__posts".
298
298
Setting "searchCutoffMs" updated of "sf_phpunit__posts".
299
299
Setting "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)
300
302
Done!
301
303
302
304
EOD, $ commandTester ->getDisplay ());
@@ -393,11 +395,11 @@ public function testImportWithDynamicSettings(): void
393
395
394
396
$ this ->assertSame (<<<'EOD'
395
397
Importing 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)
397
398
Setting "filterableAttributes" updated of "sf_phpunit__dynamic_settings".
398
399
Setting "searchableAttributes" updated of "sf_phpunit__dynamic_settings".
399
400
Setting "stopWords" updated of "sf_phpunit__dynamic_settings".
400
401
Setting "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)
401
403
Done!
402
404
403
405
EOD, $ importOutput );
@@ -432,14 +434,14 @@ public function testImportUpdatesSettingsOnce(): void
432
434
433
435
$ this ->assertSame (<<<'EOD'
434
436
Importing 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)
439
437
Setting "stopWords" updated of "sf_phpunit__posts".
440
438
Setting "filterableAttributes" updated of "sf_phpunit__posts".
441
439
Setting "searchCutoffMs" updated of "sf_phpunit__posts".
442
440
Setting "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)
443
445
Done!
444
446
445
447
EOD, $ importOutput );
0 commit comments