X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Ft%2Fweb%2Fcase-sensitivity.t;h=75993719247e814a8c6f8d6fe097193853a00dcf;hb=d21b372b9fbba2546d8a1b586c51a5eb6818ac8a;hp=f984bf3e487ef7f8da267f71b7125583490c1874;hpb=c24d6e2242ae0e026684b8f95decf156aba6e75e;p=freeside.git diff --git a/rt/t/web/case-sensitivity.t b/rt/t/web/case-sensitivity.t index f984bf3e4..759937192 100644 --- a/rt/t/web/case-sensitivity.t +++ b/rt/t/web/case-sensitivity.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; @@ -24,7 +22,7 @@ $m->login; require JSON; is_deeply( JSON::from_json( $m->content ), - [{"value" => "root\@localhost","label" => "Enoch Root"}] + [{id => 12, "value" => "root\@localhost","label" => "root (Enoch Root)"}] ); } @@ -75,7 +73,7 @@ my $cf; # test custom field values auto completer { - $m->get_ok('/Helpers/Autocomplete/CustomFieldValues?term=eNo&Object---CustomField-'. $cf->id .'-Value&ContextId=1&ContextType=RT::Queue'); + $m->get_ok('/Helpers/Autocomplete/CustomFieldValues?term=eNo&Object-RT::Ticket--CustomField-'. $cf->id .'-Value&ContextId=1&ContextType=RT::Queue'); require JSON; is_deeply( JSON::from_json( $m->content ),