X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FDBICTest.pm;h=c69d229f6c8a809c6dd32add26c5b67f37fb0fe8;hb=1c7ae8d1d2f52bb86704e0caf3128a8097442635;hp=a75f4854c8f39a978f66d1045367ecc3dffc0090;hpb=ebf846e8113e65d2c3b2cddb7667b15a15a79813;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/t/lib/DBICTest.pm b/t/lib/DBICTest.pm old mode 100755 new mode 100644 index a75f485..c69d229 --- a/t/lib/DBICTest.pm +++ b/t/lib/DBICTest.pm @@ -3,6 +3,7 @@ package # hide from PAUSE use strict; use warnings; +use DBICTest::AuthorCheck; use DBICTest::Schema; =head1 NAME @@ -74,7 +75,7 @@ sub _database { my $dbuser = $ENV{"DBICTEST_DBUSER"} || ''; my $dbpass = $ENV{"DBICTEST_DBPASS"} || ''; - my @connect_info = ($dsn, $dbuser, $dbpass, { AutoCommit => 1 }); + my @connect_info = ($dsn, $dbuser, $dbpass, { AutoCommit => 1, %args }); return @connect_info; } @@ -271,8 +272,8 @@ sub populate_schema { ]); $schema->populate('Event', [ - [ qw/id starts_at created_on/ ], - [ 1, '2006-04-25 22:24:33', '2006-06-22 21:00:05'], + [ qw/id starts_at created_on varchar_date varchar_datetime skip_inflation/ ], + [ 1, '2006-04-25 22:24:33', '2006-06-22 21:00:05', '2006-07-23', '2006-05-22 19:05:07', '2006-04-21 18:04:06'], ]); $schema->populate('Link', [ @@ -309,16 +310,16 @@ sub populate_schema { ]); $schema->populate('Owners', [ - [ qw/ownerid name/ ], + [ qw/id name/ ], [ 1, "Newton" ], [ 2, "Waltham" ], ]); $schema->populate('BooksInLibrary', [ - [ qw/id owner title source/ ], - [ 1, 1, "Programming Perl", "Library" ], - [ 2, 1, "Dynamical Systems", "Library" ], - [ 3, 2, "Best Recipe Cookbook", "Library" ], + [ qw/id owner title source price/ ], + [ 1, 1, "Programming Perl", "Library", 23 ], + [ 2, 1, "Dynamical Systems", "Library", 37 ], + [ 3, 2, "Best Recipe Cookbook", "Library", 65 ], ]); }