diff options
Diffstat (limited to 'rt/t/web/offline_messages_utf8.t')
-rw-r--r-- | rt/t/web/offline_messages_utf8.t | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rt/t/web/offline_messages_utf8.t b/rt/t/web/offline_messages_utf8.t index c32e0bc27..9901b4555 100644 --- a/rt/t/web/offline_messages_utf8.t +++ b/rt/t/web/offline_messages_utf8.t @@ -8,7 +8,7 @@ use Encode; use RT::Ticket; my ( $url, $m ) = RT::Test->started_ok; -$m->default_header( 'Accept-Language' => "zh-cn" ); +$m->default_header( 'Accept-Language' => "zh-tw" ); ok( $m->login, 'logged in' ); my $ticket_id; @@ -38,7 +38,7 @@ EOF button => 'UpdateTickets', ); my $content = encode 'utf8', $m->content; - ok( $content =~ qr/申请单 #(\d+) 成功新增于 'General' 表单/, 'message is shown right' ); + ok( $content =~ m/申請單 #(\d+) 成功新增於 'General' 表單/, 'message is shown right' ); $ticket_id = $1; } @@ -60,7 +60,7 @@ EOF my $content = encode 'utf8', $m->content; ok( $content =~ -qr/主题\s*的值从\s*'test message'\s*改为\s*'test message update'/, +qr/主題\s*的值從\s*'test message'\s*改為\s*'test message update'/, 'subject is updated' ); } |