[Rt-commit] rt branch, 4.0/dashbord-chart-with-utf8, updated. rt-4.0.1-302-ga6bb2b1

? sunnavy sunnavy at bestpractical.com
Tue Aug 9 01:35:45 EDT 2011


The branch, 4.0/dashbord-chart-with-utf8 has been updated
       via  a6bb2b12a8aae6cf5f4327fd5f1a5441f4cb306b (commit)
      from  eb3404d6ece306fcb88904fff48b1bbcf70393f9 (commit)

Summary of changes:
 t/mail/dashboard-chart-with-utf8.t |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit a6bb2b12a8aae6cf5f4327fd5f1a5441f4cb306b
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Tue Aug 9 13:34:46 2011 +0800

    use utf8 instead so the test file does not need to be utf8 encoded

diff --git a/t/mail/dashboard-chart-with-utf8.t b/t/mail/dashboard-chart-with-utf8.t
index 3d77350..220528f 100644
--- a/t/mail/dashboard-chart-with-utf8.t
+++ b/t/mail/dashboard-chart-with-utf8.t
@@ -3,7 +3,7 @@ use warnings;
 
 use RT::Test tests => 19;
 use RT::Dashboard::Mailer;
-use Encode;
+use utf8;
 
 my $root = RT::Test->load_or_create_user( Name => 'root' );
 
@@ -12,7 +12,7 @@ ok( $m->login, 'logged in' );
 
 RT::Test->create_ticket(
     Queue   => 'General',
-    Subject => decode_utf8('test äöü'),
+    Subject => 'test äöü',
 );
 
 $m->get_ok(q{/Search/Chart.html?Query=Subject LIKE 'test äöü'});

-----------------------------------------------------------------------


More information about the Rt-commit mailing list