Create a JSON::Any object, so setting $ENV{JSON_ANY_CONFIG} works.
[gitmo/MooseX-Storage.git] / t / 105_io_atomic_w_utf8.t
index fd584c2..8aec7b4 100644 (file)
@@ -4,7 +4,7 @@ use strict;
 use warnings;
 
 use Test::More;
-use Test::TempDir;
+use File::Temp qw(tempdir);
 use File::Spec::Functions;
 my $dir = tempdir;
 
@@ -21,7 +21,7 @@ BEGIN {
     # - SL 
     BEGIN {
         $ENV{JSON_ANY_ORDER}  = qw(XS);
-        $ENV{JSON_ANY_CONFIG} = "utf8=1";        
+        $ENV{JSON_ANY_CONFIG} = "utf8=0";
     }
     plan tests => 8;
     use_ok('MooseX::Storage');