mirror of
https://github.com/Codappix/search_core.git
synced 2024-11-26 23:56:12 +01:00
[TASK] Apply CGL changes
This commit is contained in:
parent
2e327db47c
commit
4f7ccef2f6
2 changed files with 10 additions and 2 deletions
|
@ -234,7 +234,10 @@ class IndexCommandControllerTest extends AbstractUnitTestCase
|
|||
$this->indexerFactory->expects($this->exactly(2))
|
||||
->method('getIndexer')
|
||||
->withConsecutive(['nonExisting'], ['allowedTable'])
|
||||
->will($this->onConsecutiveCalls($this->throwException(new NoMatchingIndexerException), $this->returnValue($indexerMock)));
|
||||
->will($this->onConsecutiveCalls(
|
||||
$this->throwException(new NoMatchingIndexerException),
|
||||
$this->returnValue($indexerMock)
|
||||
));
|
||||
|
||||
$this->subject->indexCommand('nonExisting, allowedTable');
|
||||
}
|
||||
|
|
|
@ -56,7 +56,12 @@ class QueryFactoryTest extends AbstractUnitTestCase
|
|||
$this->objectManager = $this->getMockBuilder(ObjectManagerInterface::class)
|
||||
->disableOriginalConstructor()
|
||||
->getMock();
|
||||
$this->subject = new QueryFactory($this->getMockedLogger(), $this->configuration, $configurationUtility, $this->objectManager);
|
||||
$this->subject = new QueryFactory(
|
||||
$this->getMockedLogger(),
|
||||
$this->configuration,
|
||||
$configurationUtility,
|
||||
$this->objectManager
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue