mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
Add unit tests for XMLRPC request parser
This commit is contained in:
parent
2407ad15df
commit
716b0e19bd
2 changed files with 40 additions and 0 deletions
20
tests/_data/xmlrpc/request.xml
Normal file
20
tests/_data/xmlrpc/request.xml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<methodCall>
|
||||
<params>
|
||||
<module><![CDATA[board]]></module>
|
||||
<act><![CDATA[procBoardInsertDocument]]></act>
|
||||
<mid><![CDATA[board]]></mid>
|
||||
<document_srl><![CDATA[197]]></document_srl>
|
||||
<title><![CDATA[제목]]></title>
|
||||
<content><![CDATA[<p>내용</p>
|
||||
<p>내용</p>]]>
|
||||
</content>
|
||||
<foobar type="array">
|
||||
<subkey1><![CDATA[customvalue1]]></subkey1>
|
||||
<subkey2><![CDATA[customvalue2]]></subkey2>
|
||||
<subkey3 type="array">
|
||||
<subsubkey>look here</subsubkey>
|
||||
</subkey3>
|
||||
</foobar>
|
||||
</params>
|
||||
</methodCall>
|
||||
Loading…
Add table
Add a link
Reference in a new issue