X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Ft%2Fapi%2Fcfsearch.t;h=4df6e0af2cb4ce82be4788163b55067ce64a03ac;hb=01721976fa3324f41a3093cda68bc38a7eec5ff5;hp=7a460ce2e0c3b83b0824a9b0c5000bee247e44c1;hpb=ed1f84b4e8f626245995ecda5afcf83092c153b2;p=freeside.git 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);