Fixes to tests so that they pass.
[dbsrgits/DBIx-Class.git] / t / 81transactions.t
index fe3c453..c9d9c62 100644 (file)
@@ -117,6 +117,7 @@ my $fail_code = sub {
 
   # Force txn_rollback() to throw an exception
   no warnings 'redefine';
+  no strict 'refs';
   local *{"DBIx::Class::Schema::txn_rollback"} = sub{die 'FAILED'};
 
   eval {