X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F20invocations.t;h=c8188429c9b65c706029d1515047c1bcc74d8d12;hb=28b4691da7f640a8df40780bdac200b513cf132d;hp=fdab7918a67f394cae7394bee061d16be4c114de;hpb=c75b8abc444fc31b643e6640a43f835069254b27;p=dbsrgits%2FDBIx-Class-Schema-Loader.git diff --git a/t/20invocations.t b/t/20invocations.t index fdab791..c818842 100644 --- a/t/20invocations.t +++ b/t/20invocations.t @@ -37,7 +37,7 @@ my @invocations = ( use DBIx::Class::Schema::Loader qw/ make_schema_at /; make_schema_at( 'DBICTest::Schema::7', - { relationships => 1 }, + { really_erase_my_files => 1 }, [ $make_dbictest_db::dsn ], ); DBICTest::Schema::7->clone; @@ -47,7 +47,7 @@ my @invocations = ( use base qw/ DBIx::Class::Schema::Loader /; __PACKAGE__->connect( $make_dbictest_db::dsn, - { loader_options => { relationships => 1 } } + { loader_options => { really_erase_my_files => 1 } } ); }, 'embedded_options_in_attrs' => sub { @@ -57,7 +57,7 @@ my @invocations = ( $make_dbictest_db::dsn, undef, undef, - { AutoCommit => 1, loader_options => { relationships => 1 } } + { AutoCommit => 1, loader_options => { really_erase_my_files => 1 } } ); }, 'embedded_options_make_schema_at' => sub { @@ -67,7 +67,7 @@ my @invocations = ( { }, [ $make_dbictest_db::dsn, - { loader_options => { relationships => 1 } }, + { loader_options => { really_erase_my_files => 1 } }, ], ); "DBICTest::Schema::10"; @@ -75,7 +75,7 @@ my @invocations = ( 'almost_embedded' => sub { package DBICTest::Schema::11; use base qw/ DBIx::Class::Schema::Loader /; - __PACKAGE__->loader_options( relationships => 1 ); + __PACKAGE__->loader_options( really_erase_my_files => 1 ); __PACKAGE__->connect( $make_dbictest_db::dsn, undef, undef, { AutoCommit => 1 } @@ -85,7 +85,7 @@ my @invocations = ( use DBIx::Class::Schema::Loader; DBIx::Class::Schema::Loader::make_schema_at( 'DBICTest::Schema::12', - { relationships => 1 }, + { really_erase_my_files => 1 }, [ $make_dbictest_db::dsn ], ); DBICTest::Schema::12->clone;