mirror of
https://github.com/Codappix/search_core.git
synced 2024-11-23 07:56:12 +01:00
[TASK] Update unit tests for renaming controller initialize
This commit is contained in:
parent
ef43bc1674
commit
615d24b126
1 changed files with 3 additions and 3 deletions
|
@ -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.'
|
||||
|
|
Loading…
Reference in a new issue