From 55b97b100ed87d424144255dff7050acec4f5895 Mon Sep 17 00:00:00 2001 From: Holger Veltrup Date: Fri, 17 May 2024 15:02:41 +0200 Subject: [PATCH] test: fixes --- test/Console/Command/IndexerTest.php | 32 +++------------------------- 1 file changed, 3 insertions(+), 29 deletions(-) diff --git a/test/Console/Command/IndexerTest.php b/test/Console/Command/IndexerTest.php index 2dbc3f7..e51196b 100644 --- a/test/Console/Command/IndexerTest.php +++ b/test/Console/Command/IndexerTest.php @@ -163,35 +163,9 @@ public function testExecuteSelectIndexer(): void // the output of the command in the console $output = $this->commandTester->getDisplay(); - $this->assertEquals( - <<.*/', '', $output) + $this->assertStringContainsString( + 'You have just selected: Indexer A (source: indexer_a)', + $output ); }