mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 03:52:15 +09:00
Add unit test for XEXMLParser
This commit is contained in:
parent
db72b670d8
commit
52f106968a
4 changed files with 53 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ class XmlrpcParserTest extends \Codeception\Test\Unit
|
|||
{
|
||||
public function testParse()
|
||||
{
|
||||
$xml = file_get_contents(\RX_BASEDIR . 'tests/_data/xmlrpc/request.xml');
|
||||
$xml = file_get_contents(\RX_BASEDIR . 'tests/_data/xml/xmlrpc.xml');
|
||||
$params = Rhymix\Framework\Parsers\XMLRPCParser::parse($xml);
|
||||
$this->assertTrue(is_array($params));
|
||||
$this->assertEquals('board', $params['module']);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue