X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Frun%2F13oracle.tl;h=e16999516fadb72e0a88e9cfa5a1343af84d0c93;hb=5ac6a04477849fabc50271c5b7ab15a080ae0109;hp=d524b9611e8d0179b7a383ec8e6ef582c744ed99;hpb=70fe6d6e8840b4c73c5d2327d0d6c9f35719b354;p=dbsrgits%2FDBIx-Class.git diff --git a/t/run/13oracle.tl b/t/run/13oracle.tl index d524b96..e169995 100644 --- a/t/run/13oracle.tl +++ b/t/run/13oracle.tl @@ -1,4 +1,5 @@ sub run_tests { +my $schema = shift; my ($dsn, $user, $pass) = @ENV{map { "DBICTEST_ORA_${_}" } qw/DSN USER PASS/}; @@ -10,7 +11,7 @@ plan tests => 4; DBICTest::Schema->compose_connection('OraTest' => $dsn, $user, $pass); -my $dbh = OraTest::Artist->storage->dbh; +my $dbh = OraTest->schema->storage->dbh; eval { $dbh->do("DROP SEQUENCE artist_seq");