From: Peter Rabbitson <ribasushi@cpan.org>
Date: Tue, 25 Aug 2009 10:45:35 +0000 (+0000)
Subject: Fix two storage tests
X-Git-Tag: v0.08111~50^2~5
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4127108074a653eaf268ae93ba416e015d166e08;p=dbsrgits%2FDBIx-Class.git

Fix two storage tests
---

diff --git a/t/storage/on_connect_call.t b/t/storage/on_connect_call.t
index 09befcd..be5e746 100644
--- a/t/storage/on_connect_call.t
+++ b/t/storage/on_connect_call.t
@@ -7,6 +7,7 @@ use DBICTest;
 
 use Test::More tests => 9;
 
+use DBIx::Class::Storage::DBI;
 my $schema = DBICTest->init_schema(
   no_connect  => 1,
   no_deploy   => 1,
diff --git a/t/storage/reconnect.t b/t/storage/reconnect.t
index 8f1eba1..5ef22f2 100644
--- a/t/storage/reconnect.t
+++ b/t/storage/reconnect.t
@@ -9,7 +9,7 @@ use DBICTest;
 
 plan tests => 6;
 
-my $db_orig = "$FindBin::Bin/var/DBIxClass.db";
+my $db_orig = "$FindBin::Bin/../var/DBIxClass.db";
 my $db_tmp  = "$db_orig.tmp";
 
 # Set up the "usual" sqlite for DBICTest