Fix non-sqlite tests
[dbsrgits/DBIx-Class.git] / t / run / 12pg.tl
index e79a687..9f8ce94 100644 (file)
@@ -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;