From efc7ea84da31adf746e37f986fa134fcb7cebf58 Mon Sep 17 00:00:00 2001 From: Zachary Tong Date: Tue, 11 Feb 2014 14:48:17 -0500 Subject: [PATCH] Update Percolate unit tests --- .../Tests/Endpoints/PercolateTest.php | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/tests/Elasticsearch/Tests/Endpoints/PercolateTest.php b/tests/Elasticsearch/Tests/Endpoints/PercolateTest.php index 762399816..cdc0394b5 100644 --- a/tests/Elasticsearch/Tests/Endpoints/PercolateTest.php +++ b/tests/Elasticsearch/Tests/Endpoints/PercolateTest.php @@ -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';