X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F21misc_fatal.t;h=e1f9e2e428b3ff3bc15ed427c48ec888ce543d4b;hb=87a43db11142bab84c1ddc7c2ab7a8e08437a63a;hp=e1627e018b658b371e1ed5c9f730c8e69b9b9f2a;hpb=fa994d3c6ada53f4610e6384fe924d4bf8163a68;p=dbsrgits%2FDBIx-Class-Schema-Loader.git diff --git a/t/21misc_fatal.t b/t/21misc_fatal.t index e1627e0..e1f9e2e 100644 --- a/t/21misc_fatal.t +++ b/t/21misc_fatal.t @@ -12,7 +12,7 @@ use make_dbictest_db; package DBICTest::Schema; use base qw/ DBIx::Class::Schema::Loader /; - __PACKAGE__->loader_options( relationships => 1 ); + __PACKAGE__->loader_options( really_erase_my_files => 1 ); __PACKAGE__->storage_type( '::xyzzy' ); } @@ -21,6 +21,6 @@ plan tests => 1; eval { DBICTest::Schema->connect($make_dbictest_db::dsn) }; like( $@, - qr/Could not load storage_type loader "DBIx::Class::Schema::Loader::xyzzy": /, + qr/Could not load loader_class "DBIx::Class::Schema::Loader::xyzzy": /, 'Bad storage type dies correctly' );