X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fstorage%2Fbase.t;h=948d49acbedc6b1b62f2c6afc0c8924731b58122;hb=eed5492f;hp=b16938b176bccd8badae98aefc328d68a827bef1;hpb=5e0e5426b36b5df5f9d1394068cd9f7f1c81087a;p=dbsrgits%2FDBIx-Class.git diff --git a/t/storage/base.t b/t/storage/base.t index b16938b..948d49a 100644 --- a/t/storage/base.t +++ b/t/storage/base.t @@ -121,6 +121,7 @@ my $invocations = { }; for my $type (keys %$invocations) { + local $ENV{DBIC_UNSAFE_AUTOCOMMIT_OK}; # we can not use a cloner portably because of the coderef # so compare dumps instead @@ -129,7 +130,7 @@ for my $type (keys %$invocations) { warnings_exist ( sub { $storage->connect_info ($invocations->{$type}{args}) }, - $invocations->{$type}{warn} || (), + $invocations->{$type}{warn} || [], 'Warned about ignored attributes', );