projects
/
dbsrgits/DBIx-Class-Journal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
1e99680
)
Separate db for auditing in tests
Jess Robinson [Thu, 10 May 2007 22:09:56 +0000 (22:09 +0000)]
t/lib/DBICTest/Schema.pm
patch
|
blob
|
blame
|
history
diff --git
a/t/lib/DBICTest/Schema.pm
b/t/lib/DBICTest/Schema.pm
index
5300475
..
2650f3e
100644
(file)
--- a/
t/lib/DBICTest/Schema.pm
+++ b/
t/lib/DBICTest/Schema.pm
@@
-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/;