We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b018f9b commit b838f09Copy full SHA for b838f09
tests/Elasticsearch/Tests/Endpoints/Indices/Alias/PutTest.php
@@ -62,15 +62,7 @@ public function testNoBody()
62
public function testNoIndex()
63
{
64
$body = array('field' => 'value');
65
- $mockTransport = m::mock('\Elasticsearch\Transport')
66
- ->shouldReceive('performRequest')->once()
67
- ->with(
68
- 'PUT',
69
- '/_alias/testName',
70
- array(),
71
- $body
72
- )
73
- ->getMock();
+ $mockTransport = m::mock('\Elasticsearch\Transport');
74
75
$action = new Put($mockTransport);
76
$action->setBody($body)->setName('testName')->performRequest();
0 commit comments