From: Matt S Trout Date: Fri, 30 Dec 2005 20:34:37 +0000 (+0000) Subject: Fix non-sqlite tests X-Git-Tag: v0.05005~119^2~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=70fe6d6e8840b4c73c5d2327d0d6c9f35719b354;p=dbsrgits%2FDBIx-Class.git Fix non-sqlite tests --- diff --git a/t/run/11mysql.tl b/t/run/11mysql.tl index bbc6503..791fc8c 100644 --- a/t/run/11mysql.tl +++ b/t/run/11mysql.tl @@ -9,7 +9,7 @@ plan skip_all, 'Set $ENV{DBICTEST_MYSQL_DSN}, _USER and _PASS to run this test' plan tests => 4; -DBICTest->class("Schema")->compose_connection('MySQLTest' => $dsn, $user, $pass); +DBICTest::Schema->compose_connection('MySQLTest' => $dsn, $user, $pass); my $dbh = MySQLTest::Artist->storage->dbh; diff --git a/t/run/12pg.tl b/t/run/12pg.tl index e79a687..9f8ce94 100644 --- a/t/run/12pg.tl +++ b/t/run/12pg.tl @@ -9,7 +9,7 @@ plan skip_all, 'Set $ENV{DBICTEST_PG_DSN}, _USER and _PASS to run this test' plan tests => 2; -DBICTest->class("Schema")->compose_connection('PgTest' => $dsn, $user, $pass); +DBICTest::Schema->compose_connection('PgTest' => $dsn, $user, $pass); my $dbh = PgTest::Artist->storage->dbh; diff --git a/t/run/13oracle.tl b/t/run/13oracle.tl index 154d916..d524b96 100644 --- a/t/run/13oracle.tl +++ b/t/run/13oracle.tl @@ -8,7 +8,7 @@ plan skip_all, 'Set $ENV{DBICTEST_ORA_DSN}, _USER and _PASS to run this test. ' plan tests => 4; -DBICTest->class("Schema")->compose_connection('OraTest' => $dsn, $user, $pass); +DBICTest::Schema->compose_connection('OraTest' => $dsn, $user, $pass); my $dbh = OraTest::Artist->storage->dbh;