From 0487acca1dfe878c499d91e7709aaa6fa705d9c5 Mon Sep 17 00:00:00 2001 From: Graham Knop Date: Tue, 16 Dec 2008 21:13:21 +0000 Subject: [PATCH] fix Thingy test to account for new template options --- t/Asset/Wobject/Thingy.t | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/t/Asset/Wobject/Thingy.t b/t/Asset/Wobject/Thingy.t index 45c198f04..537f2e796 100644 --- a/t/Asset/Wobject/Thingy.t +++ b/t/Asset/Wobject/Thingy.t @@ -210,7 +210,11 @@ cmp_deeply( field_value => 'test value', field_url => undef, field_name => "field_".$fieldId, - field_label => $i18n->get('assetName')." field" + field_label => $i18n->get('assetName')." field", + field_isRequired => '', + field_isVisible => '', + field_pretext => undef, + field_subtext => undef, }], 'Getting newly added thing data: getViewThingVars returns correct field_loop.' ); @@ -227,7 +231,11 @@ cmp_deeply( field_value => 'test value', field_url => undef, field_name => "field_".$fieldId, - field_label => $i18n->get('assetName')." field" + field_label => $i18n->get('assetName')." field", + field_isRequired => '', + field_isVisible => '', + field_pretext => undef, + field_subtext => undef, }], viewScreenTitle => "", }, @@ -246,7 +254,11 @@ cmp_deeply( field_value => 'new test value', field_url => undef, field_name => "field_".$fieldId, - field_label => $i18n->get('assetName')." field" + field_label => $i18n->get('assetName')." field", + field_isRequired => '', + field_isVisible => '', + field_pretext => undef, + field_subtext => undef, }], 'Getting updated thing data: getViewThingVars returns correct field_loop with updated value.' );