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 88c9a1a commit 0796a6bCopy full SHA for 0796a6b
tests/Psr7/MessageHelpersTest.php
@@ -112,6 +112,10 @@ public function testGetXML(){
112
->withBody(Psr17\create_stream('<?xml version="1.0" encoding="UTF-8"?><root><foo>bar</foo></root>'));
113
114
$this->assertSame('bar', Psr7\get_xml($r)->foo->__toString());
115
+
116
+ $r->getBody()->rewind();
117
118
+ $this->assertSame('bar', Psr7\get_xml($r, true)['foo']);
119
}
120
121
public function messageDataProvider(){
0 commit comments