X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Frun%2F08inflate_has_a.tl;h=266585ade2f991a6b51994905269657eb5067ddc;hb=70350518bbb31e5ac22fb3cb73d3e17409fcd332;hp=50f78c4485425021c1a7dca1ecae5d5be3e8bbd9;hpb=4b8dcc58874223164d4a379a5db4a9cb737d7c7a;p=dbsrgits%2FDBIx-Class.git diff --git a/t/run/08inflate_has_a.tl b/t/run/08inflate_has_a.tl index 50f78c4..266585a 100644 --- a/t/run/08inflate_has_a.tl +++ b/t/run/08inflate_has_a.tl @@ -1,5 +1,11 @@ -sub run_tests { -my $schema = shift; +use strict; +use warnings; + +use Test::More; +use lib qw(t/lib); +use DBICTest; + +my $schema = DBICTest::init_schema(); eval { require DateTime }; plan skip_all => "Need DateTime for inflation tests" if $@; @@ -50,6 +56,3 @@ $cd->update; ($cd) = $schema->resultset("CD")->search( year => $now->year ); is( $cd->year->year, $now->year, 'deflate ok' ); -} - -1;