X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Ft%2Fweb%2Frest-non-ascii-subject.t;h=8b870a8b11c59c40e15559ce3b6b36ee12530a65;hb=679854b8bbc65d112071111bbd7f34a6a481fb30;hp=371b2ffc0ad96881871ca5ae98c68898974b015f;hpb=fc6209f398899f0211cfcedeb81a3cd65e04a941;p=freeside.git diff --git a/rt/t/web/rest-non-ascii-subject.t b/rt/t/web/rest-non-ascii-subject.t index 371b2ffc0..8b870a8b1 100644 --- a/rt/t/web/rest-non-ascii-subject.t +++ b/rt/t/web/rest-non-ascii-subject.t @@ -1,10 +1,7 @@ -#!/usr/bin/env perl # Test ticket creation with REST using non ascii subject use strict; use warnings; -use RT::Test tests => 7; - -local $RT::Test::SKIP_REQUEST_WORK_AROUND = 1; +use RT::Test tests => 9; use Encode; # \x{XX} where XX is less than 255 is not treated as unicode code point @@ -42,7 +39,7 @@ $m->post("$baseurl/REST/1.0/ticket/new", [ my ($id) = $m->content =~ /Ticket (\d+) created/; ok($id, "got ticket #$id"); -my $ticket = RT::Ticket->new($RT::SystemUser); +my $ticket = RT::Ticket->new(RT->SystemUser); $ticket->Load($id); is($ticket->Id, $id, "loaded the REST-created ticket"); is($ticket->Subject, $subject, "ticket subject successfully set");