mirror of
https://github.com/Codappix/search_core.git
synced 2024-11-22 15:56:11 +01:00
BUGFIX: Fix broken test
This commit is contained in:
parent
d59173ec9a
commit
31937d2d6f
1 changed files with 3 additions and 0 deletions
|
@ -153,6 +153,9 @@ class QueryFactoryTest extends AbstractUnitTestCase
|
||||||
*/
|
*/
|
||||||
public function sizeIsAddedToQuery()
|
public function sizeIsAddedToQuery()
|
||||||
{
|
{
|
||||||
|
$this->configuration->expects($this->any())
|
||||||
|
->method('get')
|
||||||
|
->will($this->throwException(new InvalidArgumentException));
|
||||||
$searchRequest = new SearchRequest('SearchWord');
|
$searchRequest = new SearchRequest('SearchWord');
|
||||||
$searchRequest->setSize(45);
|
$searchRequest->setSize(45);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue