better fix for portable PERL5LIB setting in test
[dbsrgits/DBIx-Class-Schema-Loader.git] / t / 10sqlite_common.t
index 1bbaf05..13bb045 100644 (file)
@@ -1,5 +1,5 @@
 use strict;
-use lib qw( ./t );
+use lib qw(t/lib);
 use dbixcsl_common_tests;
 
 eval { require DBD::SQLite };
@@ -8,7 +8,7 @@ my $class = $@ ? 'SQLite2' : 'SQLite';
 {
     my $tester = dbixcsl_common_tests->new(
         vendor          => 'SQLite',
-        auto_inc_pk     => 'INTEGER NOT NULL PRIMARY KEY',
+        auto_inc_pk     => 'INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT',
         dsn             => "dbi:$class:dbname=./t/sqlite_test",
         user            => '',
         password        => '',