Permalink
Browse files

Unbreak unicode.t with newer Catalyst versions

From Catalyst-5.90079_001 Changes:

- !!! UTF-8 is now the default encoding (there used to be none...).
  You can disable this if you need to with MyApp->config(encoding =>
  undef) if it causes you trouble.

This breaks unicode.t tests 7-8. Explicitly unset the encoding
as a fix/workaround.

Bug-Debian: https://bugs.debian.org/791520
  • Loading branch information...
ntyni committed Sep 6, 2015
1 parent 2c4f24a commit 6d248ec512144b93ad7d0279014c80b60fde1cc6
Showing with 1 addition and 0 deletions.
  1. +1 −0 t/lib/MojoMojoTestSchema.pm
@@ -124,6 +124,7 @@ sub init_schema {
view_allowed => 1,
attachment_allowed => 0,
},
+ 'encoding' => undef,
'View::Email' => { sender => { mailer => 'Test' } },
'system_mail' => 'admin@localhost',
};

0 comments on commit 6d248ec

Please sign in to comment.