Fix the test to work with the new form API.

However, the test fails miserably.  Something happened to the
profileEnabled field of all form fields.  This needs to be fixed
and then Operation/ProfileSettings updated as well.
This commit is contained in:
Colin Kuskie 2008-04-25 22:23:47 +00:00
parent 89829bb4da
commit bcdafdc84b

View file

@ -30,7 +30,7 @@ my $session = WebGUI::Test->session;
# put your tests here
my @formTypes = sort @{ WebGUI::Form::FieldType->getTypes($session) };
my @formTypes = sort keys %{ WebGUI::Form::FieldType->new($session)->getTypes() };
##We have to remove DynamicField from this list, since when you call new
##it wants to return a type. We'll check it manually.