Bugzilla – Attachment 73721 Details for
Bug 20531
IssueSlip is failing randomly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20531: Prevent IssueSlip.t to fail randomly
0001-Bug-20531-Prevent-IssueSlip.t-to-fail-randomly.patch (text/plain), 1.08 KB, created by
Jonathan Druart
on 2018-04-05 19:52:26 UTC
(
hide
)
Description:
Bug 20531: Prevent IssueSlip.t to fail randomly
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-04-05 19:52:26 UTC
Size:
1.08 KB
patch
obsolete
>From 45b1dee67e5fd771adbb30e9cac352b8a0c6ab40 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 5 Apr 2018 16:46:38 -0300 >Subject: [PATCH 1/1] Bug 20531: Prevent IssueSlip.t to fail randomly > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > t/db_dependent/Members/IssueSlip.t | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/t/db_dependent/Members/IssueSlip.t b/t/db_dependent/Members/IssueSlip.t >index 4ef7e27ae9..a88772929e 100644 >--- a/t/db_dependent/Members/IssueSlip.t >+++ b/t/db_dependent/Members/IssueSlip.t >@@ -20,6 +20,7 @@ use Modern::Perl; > > use Test::More tests => 3; > use Test::MockModule; >+use Test::MockTime qw( set_fixed_time ); > use t::lib::TestBuilder; > > use C4::Biblio; >@@ -46,6 +47,7 @@ $dbh->do(q|DELETE FROM categories|); > $dbh->do(q|DELETE FROM letter|); > > my $builder = t::lib::TestBuilder->new; >+set_fixed_time(CORE::time()); > > my $branchcode = $builder->build({ source => 'Branch' })->{ branchcode }; > my $categorycode = $builder->build({ source => 'Category' })->{ categorycode }; >-- >2.11.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 20531
: 73721 |
74847
|
74867
|
75135