summaryrefslogtreecommitdiff
path: root/rt/t/customfields/iprange.t
diff options
context:
space:
mode:
Diffstat (limited to 'rt/t/customfields/iprange.t')
-rw-r--r--rt/t/customfields/iprange.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/rt/t/customfields/iprange.t b/rt/t/customfields/iprange.t
index 4bccd9ac1..2a323a352 100644
--- a/rt/t/customfields/iprange.t
+++ b/rt/t/customfields/iprange.t
@@ -21,7 +21,7 @@ my $cf;
diag "load and check basic properties of the IP CF" if $ENV{'TEST_VERBOSE'};
{
my $cfs = RT::CustomFields->new( $RT::SystemUser );
- $cfs->Limit( FIELD => 'Name', VALUE => 'IP' );
+ $cfs->Limit( FIELD => 'Name', VALUE => 'IP', CASESENSITIVE => 0 );
is( $cfs->Count, 1, "found one CF with name 'IP'" );
$cf = $cfs->First;
@@ -461,8 +461,8 @@ diag "test the operators in search page" if $ENV{'TEST_VERBOSE'};
$agent->get_ok( $baseurl . "/Search/Build.html?Query=Queue='General'" );
$agent->content_contains('CF.{IP}', 'got CF.{IP}');
my $form = $agent->form_name('BuildQuery');
- my $op = $form->find_input("'CF.{IP}'Op");
- ok( $op, "found 'CF.{IP}'Op" );
+ my $op = $form->find_input("CF.{IP}Op");
+ ok( $op, "found CF.{IP}Op" );
is_deeply( [ $op->possible_values ], [ '=', '!=', '<', '>' ], 'op values' );
}