Skip to content

Commit

Permalink
Add ES test
Browse files Browse the repository at this point in the history
  • Loading branch information
ebuildy committed May 14, 2015
1 parent 1943b3b commit 8a50204
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/lib/Elastica/Test/Query/RescoreTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,12 @@ public function testMultipleQueries()
);

$this->assertEquals($expected, $data);

$results = $this->_index->search($query);
$response = $results->getResponse();

$this->assertEquals(true, $response->isOk());
$this->assertEquals(0, $results->getTotalHits());
}

public function testQuery()
Expand Down

0 comments on commit 8a50204

Please sign in to comment.