Skip to content

Commit

Permalink
use refresh parameter in test
Browse files Browse the repository at this point in the history
  • Loading branch information
Nexucis committed Nov 20, 2017
1 parent 85df267 commit af5a714
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ public function deleteAllDocuments($alias)
* @param $alias [REQUIRED]
* @param $id [REQUIRED]
* @param string $type [REQUIRED]
* @param boolean $refresh, Refresh the index after performing the operation
* @param boolean $refresh , Refresh the index after performing the operation
* @return void
* @throws IndexNotFoundException
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ public function deleteAllDocuments($alias);
* @param $alias [REQUIRED]
* @param $id [REQUIRED]
* @param string $type [REQUIRED]
* @param boolean $refresh, Refresh the index after performing the operation
* @param boolean $refresh , Refresh the index after performing the operation
* @return void
* @throws IndexNotFoundException
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,9 @@ public function testDeleteDocument($alias)

$this->helper->createIndex($alias);

$this->assertTrue($this->helper->addDocument($alias, $type, $body, $id));
$this->assertTrue($this->helper->addDocument($alias, $type, $body, $id, true));

$this->helper->deleteDocument($alias, $id, $type);
$this->helper->deleteDocument($alias, $id, $type, true);
$param = array(
'id' => $id,
'type' => $type,
Expand Down

0 comments on commit af5a714

Please sign in to comment.