mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
Reorganize unit tests
This commit is contained in:
parent
be83a34b1e
commit
670baecb73
26 changed files with 48 additions and 55 deletions
14
tests/unit/classes/validator/insertDocument.xml
Normal file
14
tests/unit/classes/validator/insertDocument.xml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ruleset version="1.5.0">
|
||||
<customrules>
|
||||
</customrules>
|
||||
<fields>
|
||||
<field name="nick_name" length="1:20"/>
|
||||
<field name="password" length="1:20"/>
|
||||
<field name="email_address" rule="email" length=":250" />
|
||||
<field name="homepage" rule="url" length=":250" />
|
||||
<field name="title" required="true" length="1:250"/>
|
||||
<field name="content" required="true"/>
|
||||
<field name="category_srl" required="true" rule="number" default="0" />
|
||||
</fields>
|
||||
</ruleset>
|
||||
Loading…
Add table
Add a link
Reference in a new issue