Bugzilla – Attachment 70072 Details for
Bug 19867
HouseboundRoles.t is failing randomly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19867: Prevent HouseboundRoles.t to fail randomly
Bug-19867-Prevent-HouseboundRolest-to-fail-randoml.patch (text/plain), 1.24 KB, created by
Jonathan Druart
on 2017-12-21 17:47:33 UTC
(
hide
)
Description:
Bug 19867: Prevent HouseboundRoles.t to fail randomly
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-12-21 17:47:33 UTC
Size:
1.24 KB
patch
obsolete
>From 443f5b09449bf04134b57838d556a24e4cedb1b2 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 21 Dec 2017 14:45:51 -0300 >Subject: [PATCH] Bug 19867: Prevent HouseboundRoles.t to fail randomly > >Here is just a guess but we need to tell TestBuilder the values of >housebound_deliverer and housebound_chooser to make sure it will not be >1 > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > t/db_dependent/Patron/HouseboundRoles.t | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/Patron/HouseboundRoles.t b/t/db_dependent/Patron/HouseboundRoles.t >index 090ca63..7ed46b7 100644 >--- a/t/db_dependent/Patron/HouseboundRoles.t >+++ b/t/db_dependent/Patron/HouseboundRoles.t >@@ -62,7 +62,8 @@ $builder->build({ > source => 'HouseboundRole', > value => { > borrowernumber_id => $patron_chooser->{borrowernumber}, >- housebound_chooser => 1, >+ housebound_chooser => 1, >+ housebound_deliverer => 0, > }, > }); > >@@ -72,6 +73,7 @@ $builder->build({ > value => { > borrowernumber_id => $patron_deliverer->{borrowernumber}, > housebound_deliverer => 1, >+ housebound_chooser => 0, > }, > }); > >-- >2.1.4
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 19867
:
70072
|
70076