projects
/
koha_ffzg
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92c0ea7
)
Bug 18287 - Fix t/Koha.t having a Test::DBIx::Class cache issue
author
Olli-Antti Kivilahti
<olli-antti.kivilahti@jns.fi>
Thu, 16 Mar 2017 19:17:24 +0000
(21:17 +0200)
committer
Jonathan Druart
<jonathan.druart@bugs.koha-community.org>
Mon, 5 Jun 2017 20:52:48 +0000
(17:52 -0300)
REPLICATE ISSUE:
perl t/Koha.t -> fails
AFTER THIS PATCH AND DEPENDENCIES:
perl t/Koha.t -> OK
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/Koha.t
patch
|
blob
|
history
diff --git
a/t/Koha.t
b/t/Koha.t
index
2e11ab7
..
dd0e4a4
100755
(executable)
--- a/
t/Koha.t
+++ b/
t/Koha.t
@@
-47,6
+47,7
@@
sub fixtures {
my $db = Test::MockModule->new('Koha::Database');
$db->mock( _new_schema => sub { return Schema(); } );
+Koha::Database::flush_schema_cache();
my $libraries = [
['XXX_test', 'my branchname XXX'],