diff options
author | Ivan Kohler <ivan@freeside.biz> | 2012-04-24 11:35:56 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2012-04-24 11:35:56 -0700 |
commit | 6587f6ba7d047ddc1686c080090afe7d53365bd4 (patch) | |
tree | ec77342668e8865aca669c9b4736e84e3077b523 /rt/t/web/rest-non-ascii-subject.t | |
parent | 47153aae5c2fc00316654e7277fccd45f72ff611 (diff) |
first pass RT4 merge, RT#13852
Diffstat (limited to 'rt/t/web/rest-non-ascii-subject.t')
-rw-r--r-- | rt/t/web/rest-non-ascii-subject.t | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/rt/t/web/rest-non-ascii-subject.t b/rt/t/web/rest-non-ascii-subject.t index 371b2ffc0..d7a89af5e 100644 --- a/rt/t/web/rest-non-ascii-subject.t +++ b/rt/t/web/rest-non-ascii-subject.t @@ -2,9 +2,7 @@ # 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 +40,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"); |