Separate db for auditing in tests
Jess Robinson [Thu, 10 May 2007 22:09:56 +0000 (22:09 +0000)]
t/lib/DBICTest/Schema.pm

index 5300475..2650f3e 100644 (file)
@@ -5,6 +5,7 @@ use base qw/DBIx::Class::Schema/;
 
 __PACKAGE__->load_components(qw/+DBIx::Class::Schema::Journal/);
 
+__PACKAGE__->journal_connection(['dbi:SQLite:t/var/Audit.db']);
 __PACKAGE__->journal_user(['DBICTest::Schema::Artist', {'foreign.artistid' => 'self.user_id'}]);
 
 no warnings qw/qw/;