example for columns explaining correlation to select/as
[dbsrgits/DBIx-Class-Historic.git] / t / storage / error.t
index d3b28aa..68bbb5a 100644 (file)
@@ -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 {