Update test for change in Definition behavior. Labels/noFormPost is not required any longer.
This commit is contained in:
parent
0b74f25dd1
commit
04ea5ab533
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ use WebGUI::Test;
|
|||
|
||||
define tableName => 'asset';
|
||||
::dies_ok { property 'property1' => (); } 'must have a fieldType';
|
||||
::dies_ok { property 'property1' => (fieldType => 'text'); } 'must pass either a label or noFormPost flag';
|
||||
::lives_ok { property 'property1' => (fieldType => 'text'); } 'label will default to name if not passed';
|
||||
::lives_ok { property 'property1' => (
|
||||
fieldType => 'YUI Super Form',
|
||||
noFormPost => '1',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue