From bcdafdc84bc505c56c045a59ad1881f44d652877 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Fri, 25 Apr 2008 22:23:47 +0000 Subject: [PATCH] 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. --- t/Form/ProfileEnabled.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/Form/ProfileEnabled.t b/t/Form/ProfileEnabled.t index 9a8a0562f..8dc171bcb 100644 --- a/t/Form/ProfileEnabled.t +++ b/t/Form/ProfileEnabled.t @@ -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.