X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Frun%2F14mssql.tl;h=f21d9e2b0be87a96d0f91a28d479f7d9771c7394;hb=70350518bbb31e5ac22fb3cb73d3e17409fcd332;hp=befc14d4f6480b95d45b9c54f8226d827322f7ad;hpb=f48dd03f381ac3ff21655600023249830b869b0c;p=dbsrgits%2FDBIx-Class.git diff --git a/t/run/14mssql.tl b/t/run/14mssql.tl index befc14d..f21d9e2 100644 --- a/t/run/14mssql.tl +++ b/t/run/14mssql.tl @@ -1,11 +1,15 @@ -sub run_tests { -my $schema = shift; +use strict; +use warnings; + +use Test::More; +use lib qw(t/lib); +use DBICTest; my ($dsn, $user, $pass) = @ENV{map { "DBICTEST_MSSQL_${_}" } qw/DSN USER PASS/}; #warn "$dsn $user $pass"; -plan skip_all, 'Set $ENV{DBICTEST_MSSQL_DSN}, _USER and _PASS to run this test' +plan skip_all => 'Set $ENV{DBICTEST_MSSQL_DSN}, _USER and _PASS to run this test' unless ($dsn); plan tests => 4; @@ -43,6 +47,3 @@ $it->next; $it->next; is( $it->next, undef, "next past end of resultset ok" ); -} - -1;