Skip to content

Commit

Permalink
Apply patch.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Sik committed Sep 29, 2015
1 parent 9f9d88a commit 842fdf9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion api/app/Http/Controllers/ApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
use App\Exceptions\BadRequestException;
use Spira\Responder\Response\ApiResponse;
use Spira\Responder\Contract\TransformerInterface;
use Illuminate\Database\Eloquent\Collection as EloquentCollection;

abstract class ApiController extends Controller
{
Expand Down
2 changes: 1 addition & 1 deletion api/tests/integration/EntityTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public function testGetAllPaginatedComplexSearch()
->with([
'index' => 'defaultIndex',
'type' => 'someTypeName',
'body' => ['query'=>['bool'=>['must'=>[['match'=>['_all'=>'search term']],['match'=>['author_id'=>'some UUID']],['nested'=>['path'=>'tags','query'=>['bool'=>['must'=>['match'=>['tags.tag_id'=>'tag ID 1']]]]]],['nested'=>['path'=>'tags','query'=>['bool'=>['must'=>['match'=>['tags.tag_id'=>'tag ID 2']]]]]]]]]]
'body' => ['query' => ['bool' => ['must' => [['match' => ['_all' => 'search term']],['match' => ['author_id' => 'some UUID']],['nested' => ['path' => 'tags','query' => ['bool' => ['must' => ['match' => ['tags.tag_id' => 'tag ID 1']]]]]],['nested' => ['path' => 'tags','query' => ['bool' => ['must' => ['match' => ['tags.tag_id' => 'tag ID 2']]]]]]]]]],
])
->andReturn($resultsMock);

Expand Down

0 comments on commit 842fdf9

Please sign in to comment.