Skip to content

Commit

Permalink
test: fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sitepark-veltrup committed May 17, 2024
1 parent 2b48869 commit 55b97b1
Showing 1 changed file with 3 additions and 29 deletions.
32 changes: 3 additions & 29 deletions test/Console/Command/IndexerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,35 +163,9 @@ public function testExecuteSelectIndexer(): void

// the output of the command in the console
$output = $this->commandTester->getDisplay();
$this->assertEquals(
<<<EOF
Channel: WWW
============
Several indexers are available.
-------------------------------
Please select the indexer you want to use [0]
[0] Indexer A (source: indexer_a)
[1] Indexer C (source: indexer_c)
You have just selected: Indexer A (source: indexer_a)
Index with Indexer "Indexer A" (source: indexer_a)
--------------------------------------------------
Status
------
EOF,
preg_replace('/.*>.*/', '', $output)
$this->assertStringContainsString(
'You have just selected: Indexer A (source: indexer_a)',
$output
);
}

Expand Down

0 comments on commit 55b97b1

Please sign in to comment.