Skip to content

Commit

Permalink
Update Percolate unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
polyfractal committed Feb 11, 2014
1 parent 1c206ac commit efc7ea8
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions tests/Elasticsearch/Tests/Endpoints/PercolateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,22 +50,6 @@ public function testNoType()

}


/**
* @expectedException RuntimeException
*/
public function testNoBody()
{

$mockTransport = m::mock('\Elasticsearch\Transport');

$action = new Percolate($mockTransport);
$action->setIndex('testIndex')
->setType('testType')
->performRequest();

}

public function testValidPercolate()
{
$body = 'abc';
Expand Down

0 comments on commit efc7ea8

Please sign in to comment.