From 1acca9fa47d99024b37191897a4ca4a3a492d79a Mon Sep 17 00:00:00 2001 From: Graham Knop Date: Thu, 12 Jun 2008 23:42:20 +0000 Subject: [PATCH] fix list form test --- t/Form/ListEquiv.t | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/t/Form/ListEquiv.t b/t/Form/ListEquiv.t index c13c3a9f2..96f166f4f 100644 --- a/t/Form/ListEquiv.t +++ b/t/Form/ListEquiv.t @@ -50,7 +50,7 @@ $dynamic = WebGUI::Form::DynamicField->new( fieldType => 'SelectList', name => 'mySelectList', label => 'list of selections', - possibleValues => join("\n", qw(a b c d e f g h)), + options => join("\n", qw(a b c d e f g h)), value => join("\n", qw(a e c g)), sortByValue => 1, multiple => 1, @@ -79,7 +79,7 @@ $dynamic = WebGUI::Form::DynamicField->new( fieldType => 'CheckList', name => 'myCheckList', label => 'list of selections', - possibleValues => join("\n", qw(a b c d e f g h)), + options => join("\n", qw(a b c d e f g h)), value => join("\n", qw(a c e g)), sortByValue => 1, ); @@ -106,7 +106,7 @@ $dynamic = WebGUI::Form::DynamicField->new( fieldType => 'RadioList', name => 'myRadioList', label => 'list of selections', - possibleValues => join("\n", qw(a b c d e f g h)), + options => join("\n", qw(a b c d e f g h)), value => 'b', sortByValue => 1, ); @@ -133,7 +133,7 @@ $dynamic = WebGUI::Form::DynamicField->new( fieldType => 'SelectBox', name => 'mySelectBox', label => 'list of selections', - possibleValues => join("\n", qw(a b c d e f g h)), + options => join("\n", qw(a b c d e f g h)), value => 'b', sortByValue => 1, );