X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F106dbic_carp.t;h=e6710d87865f6752590be38e0e23d8e491410738;hb=cc414f09f43faf9424895d7f6b470fbe2ef2b0ce;hp=241fc5d61e0ab1c8ccba74965c9de138ceae7073;hpb=db2e53927f8913cdb8f3c2ec42820d99f53b1eb3;p=dbsrgits%2FDBIx-Class.git diff --git a/t/106dbic_carp.t b/t/106dbic_carp.t index 241fc5d..e6710d8 100644 --- a/t/106dbic_carp.t +++ b/t/106dbic_carp.t @@ -38,7 +38,9 @@ use DBICTest; sub thrower { sub { - DBICTest->init_schema(no_deploy => 1)->throw_exception('time to die'); + DBICTest->init_schema(no_deploy => 1)->storage->dbh_do(sub { + shift->throw_exception('time to die'); + }) }->(); }