get rid of an empty trailing hashref if appropriate
[dbsrgits/DBIx-Class-Schema-Loader.git] / t / 11mysql_common.t
index 1929a68..c65c7b1 100644 (file)
@@ -1,5 +1,5 @@
 use strict;
-use lib qw( . ./t );
+use lib qw(t/lib);
 use dbixcsl_common_tests;
 
 my $dsn         = $ENV{DBICTEST_MYSQL_DSN} || '';
@@ -10,14 +10,15 @@ my $test_innodb = $ENV{DBICTEST_MYSQL_INNODB} || 0;
 my $skip_rels_msg = 'You need to set the DBICTEST_MYSQL_INNODB environment variable to test relationships';
 
 my $tester = dbixcsl_common_tests->new(
-    vendor          => 'Mysql',
-    auto_inc_pk     => 'INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT',
-    innodb          => q{Engine='InnoDB'},
-    dsn             => $dsn,
-    user            => $user,
-    password        => $password,
-    skip_rels       => $test_innodb ? 0 : $skip_rels_msg,
-    no_inline_rels  => 1,
+    vendor           => 'Mysql',
+    auto_inc_pk      => 'INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT',
+    innodb           => $test_innodb ? q{Engine=InnoDB} : 0,
+    dsn              => $dsn,
+    user             => $user,
+    password         => $password,
+    skip_rels        => $test_innodb ? 0 : $skip_rels_msg,
+    no_inline_rels   => 1,
+    no_implicit_rels => 1,
 );
 
 if( !$dsn || !$user ) {