X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Ft%2Fcustomfields%2Fiprangev6.t;h=445df333c1d4f6a8733a1a654f1b4d46c81b1862;hb=f2ee4eec34fea420c1c434194e410f31b6c9edb0;hp=d823dd6e3e695a1b4c119f6958eb96edee5ab0a5;hpb=a6fe07e49e3fc12169e801b1ed6874c3a5bd8500;p=freeside.git diff --git a/rt/t/customfields/iprangev6.t b/rt/t/customfields/iprangev6.t index d823dd6e3..445df333c 100644 --- a/rt/t/customfields/iprangev6.t +++ b/rt/t/customfields/iprangev6.t @@ -1,4 +1,3 @@ -#!/usr/bin/perl use strict; use warnings; @@ -22,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; @@ -194,7 +193,7 @@ diag "check that we parse correct IPs only" if $ENV{'TEST_VERBOSE'}; } ); - $agent->content_like( qr/can not be parsed as an IP address range/, + $agent->content_like( qr/is not a valid IP address range/, 'ticket fails to create' ); }