BUGFIX: Fix broken test

This commit is contained in:
Daniel Siepmann 2017-07-28 11:58:24 +02:00
parent d59173ec9a
commit 31937d2d6f
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -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);