From: Rafael Kitover Date: Sun, 29 May 2011 13:34:35 +0000 (-0400) Subject: fix clasing test dbs X-Git-Tag: 0.07011~96 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=fb60e46b62aefab2606d0dd710ab08fa42d3de34;p=dbsrgits%2FDBIx-Class-Schema-Loader.git fix clasing test dbs --- diff --git a/t/lib/make_dbictest_db_plural_tables.pm b/t/lib/make_dbictest_db_plural_tables.pm index 48a6608..39b1f7b 100644 --- a/t/lib/make_dbictest_db_plural_tables.pm +++ b/t/lib/make_dbictest_db_plural_tables.pm @@ -8,7 +8,7 @@ use dbixcsl_test_dir qw/$tdir/; eval { require DBD::SQLite }; my $class = $@ ? 'SQLite2' : 'SQLite'; -my $fn = "$tdir/dbictest.db"; +my $fn = "$tdir/dbictest_plural_tables.db"; unlink($fn); our $dsn = "dbi:$class:dbname=$fn"; @@ -23,7 +23,7 @@ $dbh->do($_) for ( )|, q|CREATE TABLE bars ( barid INTEGER PRIMARY KEY, - fooref INTEGER REFERENCES foo(fooid) + fooref INTEGER REFERENCES foos(fooid) )|, q|INSERT INTO foos (fooid, footext) VALUES (1,'Foo text for number 1')|, q|INSERT INTO foos (fooid, footext) VALUES (2,'Foo record associated with the Bar with barid 3')|,