use Test::More;
use Test::Warn;
use Test::Exception;
-use DBIx::Class::Carp;
use lib 't/lib';
use DBICTest;
+use DBIx::Class::Carp;
{
sub DBICTest::DBICCarp::frobnicate {
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');
+ })
}->();
}