[Rt-commit] r2513 - in rt/branches/3.4-RELEASE: . lib/RT
jesse at bestpractical.com
jesse at bestpractical.com
Sun Mar 27 00:20:38 EST 2005
Author: jesse
Date: Sun Mar 27 00:20:37 2005
New Revision: 2513
Modified:
rt/branches/3.4-RELEASE/ (props changed)
rt/branches/3.4-RELEASE/lib/RT/CustomField_Overlay.pm
Log:
r10208 at hualien: jesse | 2005-03-27 13:14:57 +0800
* Fixing tests to not depend on a deprecated API
Modified: rt/branches/3.4-RELEASE/lib/RT/CustomField_Overlay.pm
==============================================================================
--- rt/branches/3.4-RELEASE/lib/RT/CustomField_Overlay.pm (original)
+++ rt/branches/3.4-RELEASE/lib/RT/CustomField_Overlay.pm Sun Mar 27 00:20:37 2005
@@ -284,7 +284,8 @@
is($cf->Type, 'Select');
is($cf->MaxValues, 1);
-ok($cf->SetType('SelectMultiple'));
+my ($val, $msg) = $cf->SetMaxValues('0');
+ok($val, $msg);
is($cf->Type, 'Select');
is($cf->MaxValues, 0);
ok(!$cf->SingleValue );
More information about the Rt-commit
mailing list