diff --git a/Tests/Unit/Command/IndexCommandControllerTest.php b/Tests/Unit/Command/IndexCommandControllerTest.php index 7a18f05..d722f6d 100644 --- a/Tests/Unit/Command/IndexCommandControllerTest.php +++ b/Tests/Unit/Command/IndexCommandControllerTest.php @@ -131,7 +131,7 @@ class IndexCommandControllerTest extends AbstractUnitTestCase ->willReturn('pages'); $this->subject->expects($this->once()) ->method('outputLine') - ->with('Indice pages was deleted.'); + ->with('Indice pages was flushed.'); $this->indexerFactory->expects($this->once()) ->method('getIndexer') ->with('pages') diff --git a/Tests/Unit/Controller/SearchControllerTest.php b/Tests/Unit/Controller/SearchControllerTest.php index ba1d2af..0357b86 100644 --- a/Tests/Unit/Controller/SearchControllerTest.php +++ b/Tests/Unit/Controller/SearchControllerTest.php @@ -76,7 +76,7 @@ class SearchControllerTest extends AbstractUnitTestCase ] ]); - $this->subject->initializeResultsAction(); + $this->subject->initializeSearchAction(); $this->assertInstanceOf( SearchRequest::class, $this->request->getArgument('searchRequest'), @@ -100,7 +100,7 @@ class SearchControllerTest extends AbstractUnitTestCase ] ]); - $this->subject->initializeResultsAction(); + $this->subject->initializeSearchAction(); $this->assertInstanceOf( SearchRequest::class, $this->request->getArgument('searchRequest'), @@ -120,7 +120,7 @@ class SearchControllerTest extends AbstractUnitTestCase { $this->inject($this->subject, 'settings', ['searching' => []]); - $this->subject->initializeResultsAction(); + $this->subject->initializeSearchAction(); $this->assertFalse( $this->request->hasArgument('searchRequest'), 'Search request should not exist.'