Skip to content

Commit fe3c0d2

Browse files
committed
Fix NullTransportTest for PHP 5.3
1 parent 978625d commit fe3c0d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/lib/Elastica/Test/Transport/NullTransportTest.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ public function testExec()
6767

6868
$this->assertInstanceOf('\Elastica\Response', $response);
6969

70-
$this->assertEquals($params, $response->getData()['params']);
70+
$data = $response->getData();
71+
$this->assertEquals($params, $data['params']);
7172
}
7273
}

0 commit comments

Comments
 (0)