diff options
author | Ivan Kohler <ivan@freeside.biz> | 2015-07-09 22:18:55 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2015-07-09 22:18:55 -0700 |
commit | 1c538bfabc2cd31f27067505f0c3d1a46cba6ef0 (patch) | |
tree | 96922ad4459eda1e649327fd391d60c58d454c53 /rt/t/api/cfsearch.t | |
parent | 4f5619288413a185e9933088d9dd8c5afbc55dfa (diff) |
RT 4.2.11, ticket#13852
Diffstat (limited to 'rt/t/api/cfsearch.t')
-rw-r--r-- | rt/t/api/cfsearch.t | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/rt/t/api/cfsearch.t b/rt/t/api/cfsearch.t index 7a460ce2e..4df6e0af2 100644 --- a/rt/t/api/cfsearch.t +++ b/rt/t/api/cfsearch.t @@ -36,9 +36,9 @@ my $cfvalue1 = 'Foo'; { my ($id, $msg) = $u1->AddCustomFieldValue( - Field => $cfname, - Value => $cfvalue1, - RecordTransaction => 0 ); + Field => $cfname, + Value => $cfvalue1, + RecordTransaction => 0 ); ok( $id, "Adding CF value '$cfvalue1' - " . $msg ); } @@ -51,18 +51,18 @@ my $cfvalue1 = 'Foo'; { my ($id, $msg) = $u1->DeleteCustomFieldValue( - Field => $cfname, - Value => $cfvalue1, - RecordTransaction => 0 ); + Field => $cfname, + Value => $cfvalue1, + RecordTransaction => 0 ); ok( $id, "Deleting CF value - " . $msg ); } my $cfvalue2 = 'Bar'; { my ($id, $msg) = $u1->AddCustomFieldValue( - Field => $cfname, - Value => $cfvalue2, - RecordTransaction => 0 ); + Field => $cfname, + Value => $cfvalue2, + RecordTransaction => 0 ); ok( $id, "Adding second CF value '$cfvalue2' - " . $msg ); } @@ -92,9 +92,9 @@ sub QueryCFValue{ isa_ok( $users, 'RT::Users' ); $users->LimitCustomField( - CUSTOMFIELD => $cf_id, - OPERATOR => "=", - VALUE => $cf_value ); + CUSTOMFIELD => $cf_id, + OPERATOR => "=", + VALUE => $cf_value ); while ( my $filtered_user = $users->Next() ){ my $cf_values = $filtered_user->CustomFieldValues($cf->id); |