From 615d24b126e9624d467b09d1ca3f972fc691090f Mon Sep 17 00:00:00 2001 From: Benjamin Serfhos Date: Tue, 30 Oct 2018 09:18:29 +0100 Subject: [PATCH] [TASK] Update unit tests for renaming controller initialize --- Tests/Unit/Controller/SearchControllerTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tests/Unit/Controller/SearchControllerTest.php b/Tests/Unit/Controller/SearchControllerTest.php index 0357b86..ba1d2af 100644 --- a/Tests/Unit/Controller/SearchControllerTest.php +++ b/Tests/Unit/Controller/SearchControllerTest.php @@ -76,7 +76,7 @@ class SearchControllerTest extends AbstractUnitTestCase ] ]); - $this->subject->initializeSearchAction(); + $this->subject->initializeResultsAction(); $this->assertInstanceOf( SearchRequest::class, $this->request->getArgument('searchRequest'), @@ -100,7 +100,7 @@ class SearchControllerTest extends AbstractUnitTestCase ] ]); - $this->subject->initializeSearchAction(); + $this->subject->initializeResultsAction(); $this->assertInstanceOf( SearchRequest::class, $this->request->getArgument('searchRequest'), @@ -120,7 +120,7 @@ class SearchControllerTest extends AbstractUnitTestCase { $this->inject($this->subject, 'settings', ['searching' => []]); - $this->subject->initializeSearchAction(); + $this->subject->initializeResultsAction(); $this->assertFalse( $this->request->hasArgument('searchRequest'), 'Search request should not exist.'