X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F746db2_400.t;h=745673b2b41e428a3812121c856a63edb3ae45a1;hb=735ba30ee0315ddf620664342c6a4215f7be5850;hp=6c2344cd60ef414af4434d64ce411ce144ecc38f;hpb=d6915f449e2d68ac184d6bc616043fd605913757;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/t/746db2_400.t b/t/746db2_400.t index 6c2344c..745673b 100644 --- a/t/746db2_400.t +++ b/t/746db2_400.t @@ -12,12 +12,12 @@ my ($dsn, $user, $pass) = @ENV{map { "DBICTEST_DB2_400_${_}" } qw/DSN USER PASS/ # Probably best to pass the DBQ option in the DSN to specify a specific # libray. Something like: # DBICTEST_DB2_400_DSN='dbi:ODBC:dsn=MyAS400;DBQ=MYLIB' -plan skip_all, 'Set $ENV{DBICTEST_DB2_400_DSN}, _USER and _PASS to run this test' +plan skip_all => 'Set $ENV{DBICTEST_DB2_400_DSN}, _USER and _PASS to run this test' unless ($dsn && $user); plan tests => 6; -DBICTest::Schema->compose_connection('DB2Test' => $dsn, $user, $pass); +DBICTest::Schema->compose_namespace('DB2Test' => $dsn, $user, $pass); my $dbh = DB2Test->schema->storage->dbh;