Skip to content

Commit 372f950

Browse files
committed
fix tests
1 parent 9fd9e1c commit 372f950

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎tests/03MessagesTest.php‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,9 @@ public function testParserClassOverride()
7979

8080
\PhpXmlRpc\Request::setParser($r);
8181
$this->assertInstanceOf('stdClass', $r->getParser());
82+
83+
/// @todo also reinstate these in case of failure
84+
\PhpXmlRpc\JsonRpc\Request::setParser(new \PhpXmlRpc\JsonRpc\Helper\Parser());
85+
\PhpXmlRpc\Request::setParser(new \PhpXmlRpc\Helper\XMLParser());
8286
}
8387
}

0 commit comments

Comments
 (0)