[Rt-commit] [rtir] 01/08: Load Custom Fields with CASESENSITIVE => 0
Kevin Falcone
falcone at bestpractical.com
Fri Apr 18 21:20:53 EDT 2014
This is an automated email from the git hooks/post-receive script.
falcone pushed a commit to branch 3.2/test-fixes
in repository rtir.
commit d09f1d4b376b7dc8f8147b8c4c072ffd177c99d8
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Wed Apr 16 17:12:58 2014 -0400
Load Custom Fields with CASESENSITIVE => 0
---
html/RTIR/Investigation/Elements/Create | 2 +-
t/constituency/acl.t | 2 +-
t/constituency/basics.t | 2 +-
t/constituency/email.t | 2 +-
t/constituency/propagation-inherit.t | 2 +-
t/constituency/propagation-no.t | 2 +-
t/constituency/propagation-reject.t | 2 +-
t/custom-fields/ip.t | 2 +-
t/custom-fields/ipv6.t | 2 +-
9 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/html/RTIR/Investigation/Elements/Create b/html/RTIR/Investigation/Elements/Create
index b9526a2..e6a827a 100644
--- a/html/RTIR/Investigation/Elements/Create
+++ b/html/RTIR/Investigation/Elements/Create
@@ -280,7 +280,7 @@ if ( ($DefaultsNamePrefix||'') ne $NamePrefix ) {
my $dst_cf = do {
my $cfs = $queue->TicketCustomFields;
- $cfs->Limit( FIELD => 'Name', VALUE => $src_cf->Name );
+ $cfs->Limit( FIELD => 'Name', VALUE => $src_cf->Name, CASESENSITIVE => 0 );
$cfs->RowsPerPage(1);
$cfs->First;
};
diff --git a/t/constituency/acl.t b/t/constituency/acl.t
index 49502a5..6cccfc8 100644
--- a/t/constituency/acl.t
+++ b/t/constituency/acl.t
@@ -11,7 +11,7 @@ my $cf;
diag "load and check basic properties of the CF" if $ENV{'TEST_VERBOSE'};
{
my $cfs = RT::CustomFields->new( $RT::SystemUser );
- $cfs->Limit( FIELD => 'Name', VALUE => 'Constituency' );
+ $cfs->Limit( FIELD => 'Name', VALUE => 'Constituency', CASESENSITIVE => 0 );
$cf = $cfs->First;
ok $cf && $cf->id, 'loaded field';
is $cf->Name, 'Constituency', 'good name';
diff --git a/t/constituency/basics.t b/t/constituency/basics.t
index 58cb831..46d4200 100644
--- a/t/constituency/basics.t
+++ b/t/constituency/basics.t
@@ -16,7 +16,7 @@ my $cf;
diag "load and check basic properties of the CF" if $ENV{'TEST_VERBOSE'};
{
my $cfs = RT::CustomFields->new( $RT::SystemUser );
- $cfs->Limit( FIELD => 'Name', VALUE => 'Constituency' );
+ $cfs->Limit( FIELD => 'Name', VALUE => 'Constituency', CASESENSITIVE => 0 );
is( $cfs->Count, 1, "found one CF with name 'Constituency'" );
$cf = $cfs->First;
diff --git a/t/constituency/email.t b/t/constituency/email.t
index ff087c6..4eb32e3 100644
--- a/t/constituency/email.t
+++ b/t/constituency/email.t
@@ -14,7 +14,7 @@ my $cf;
diag "load the field" if $ENV{'TEST_VERBOSE'};
{
my $cfs = RT::CustomFields->new( $RT::SystemUser );
- $cfs->Limit( FIELD => 'Name', VALUE => 'Constituency' );
+ $cfs->Limit( FIELD => 'Name', VALUE => 'Constituency', CASESENSITIVE => 0 );
$cf = $cfs->First;
ok $cf, 'have a field';
ok $cf->id, 'with some ID';
diff --git a/t/constituency/propagation-inherit.t b/t/constituency/propagation-inherit.t
index 6b62c96..bee0e87 100644
--- a/t/constituency/propagation-inherit.t
+++ b/t/constituency/propagation-inherit.t
@@ -12,7 +12,7 @@ my $cf;
diag "load the field" if $ENV{'TEST_VERBOSE'};
{
my $cfs = RT::CustomFields->new( $RT::SystemUser );
- $cfs->Limit( FIELD => 'Name', VALUE => 'Constituency' );
+ $cfs->Limit( FIELD => 'Name', VALUE => 'Constituency', CASESENSITIVE => 0 );
$cf = $cfs->First;
ok $cf, 'have a field';
ok $cf->id, 'with some ID';
diff --git a/t/constituency/propagation-no.t b/t/constituency/propagation-no.t
index 9653487..253fb05 100644
--- a/t/constituency/propagation-no.t
+++ b/t/constituency/propagation-no.t
@@ -12,7 +12,7 @@ my $cf;
diag "load the field" if $ENV{'TEST_VERBOSE'};
{
my $cfs = RT::CustomFields->new( $RT::SystemUser );
- $cfs->Limit( FIELD => 'Name', VALUE => 'Constituency' );
+ $cfs->Limit( FIELD => 'Name', VALUE => 'Constituency', CASESENSITIVE => 0 );
$cf = $cfs->First;
ok $cf, 'have a field';
ok $cf->id, 'with some ID';
diff --git a/t/constituency/propagation-reject.t b/t/constituency/propagation-reject.t
index ecc9d18..d90affe 100644
--- a/t/constituency/propagation-reject.t
+++ b/t/constituency/propagation-reject.t
@@ -12,7 +12,7 @@ my $cf;
diag "load the field" if $ENV{'TEST_VERBOSE'};
{
my $cfs = RT::CustomFields->new( $RT::SystemUser );
- $cfs->Limit( FIELD => 'Name', VALUE => 'Constituency' );
+ $cfs->Limit( FIELD => 'Name', VALUE => 'Constituency', CASESENSITIVE => 0 );
$cf = $cfs->First;
ok $cf, 'have a field';
ok $cf->id, 'with some ID';
diff --git a/t/custom-fields/ip.t b/t/custom-fields/ip.t
index 5cb83df..bd06c81 100644
--- a/t/custom-fields/ip.t
+++ b/t/custom-fields/ip.t
@@ -14,7 +14,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;
diff --git a/t/custom-fields/ipv6.t b/t/custom-fields/ipv6.t
index 768ebe1..761299b 100644
--- a/t/custom-fields/ipv6.t
+++ b/t/custom-fields/ipv6.t
@@ -34,7 +34,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;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the rt-commit
mailing list