X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fstorage%2Ferror.t;h=68bbb5ad06237230affb6f6d0a1f81cce1bfb2dd;hb=754cf88e231187af26e524a99130357fb5dbb500;hp=d3b28aa3945e9896cab5cdecff6520c32def7462;hpb=b720efd16eb1e747c3d12697f57edb708f67280a;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/t/storage/error.t b/t/storage/error.t index d3b28aa..68bbb5a 100644 --- a/t/storage/error.t +++ b/t/storage/error.t @@ -32,15 +32,11 @@ throws_ok ( 'DBI exceptions properly handled by dbic-installed callback' ); +# This usage is a bit unusual but it was actually seen in the wild # destruction of everything except the $dbh should use the proper # exception fallback: -# FIXME -# These explicit disconnections on loss of $storage don't seem -# right... disable it here for the test anyway { - local $dbh->{Callbacks}{disconnect} = sub { 1 }; - undef ($schema); throws_ok ( sub {