From: Rafael Kitover Date: Mon, 30 Nov 2009 23:27:45 +0000 (+0000) Subject: tests pass again X-Git-Tag: 0.04999_12~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d27f2b7bd6387aaf303ff99c507ea08769e16644;p=dbsrgits%2FDBIx-Class-Schema-Loader.git tests pass again --- diff --git a/Makefile.PL b/Makefile.PL index 5dabf38..69ed7d9 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -3,7 +3,7 @@ use inc::Module::Install 0.91; name 'DBIx-Class-Schema-Loader'; all_from 'lib/DBIx/Class/Schema/Loader.pm'; -test_requires 'Test::More' => '0.47'; +test_requires 'Test::More' => '0.94'; test_requires 'DBI' => '1.56'; test_requires 'DBD::SQLite' => '1.12'; test_requires 'File::Path' => 0; diff --git a/t/23dumpmore.t b/t/23dumpmore.t index 2bdc126..a50fffc 100644 --- a/t/23dumpmore.t +++ b/t/23dumpmore.t @@ -6,9 +6,9 @@ use IPC::Open3; use make_dbictest_db; require DBIx::Class::Schema::Loader; -$^O eq 'MSWin32' - ? plan(skip_all => "ActiveState perl produces additional warnings, and this test uses unix paths") - : plan(tests => 153); +$^O eq 'MSWin32' && plan(skip_all => +"ActiveState perl produces additional warnings, and this test uses unix paths" +); my $DUMP_PATH = './t/_dump'; @@ -316,4 +316,6 @@ do_dump_test( }, ); +done_testing; + END { rmtree($DUMP_PATH, 1, 1); } diff --git a/t/lib/My/ResultBaseClass.pm b/t/lib/My/ResultBaseClass.pm index 1795bfb..c1b6b71 100644 --- a/t/lib/My/ResultBaseClass.pm +++ b/t/lib/My/ResultBaseClass.pm @@ -1,3 +1,3 @@ package My::ResultBaseClass; -use base 'DBIx::Class'; +use base 'DBIx::Class::Core'; 1;