Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 8a21fff

Browse files
committed
Fix failing test with undef variable
1 parent 6bd3499 commit 8a21fff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Response/XmlResponseTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public function testRaisesExceptionforNonStringNonStreamBodyContent($body)
8787
public function testConstructorRewindsBodyStream()
8888
{
8989
$body = '<?xml version="1.0"?>' . PHP_EOL . '<something>Valid XML</something>';
90-
$response = new XmlResponse($text);
90+
$response = new XmlResponse($body);
9191

9292
$actual = $response->getBody()->getContents();
9393
$this->assertSame($body, $actual);

0 commit comments

Comments
 (0)