Bugzilla – Attachment 71767 Details for
Bug 18403
Hide patron information if not part of the logged in user library group
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18403: Prevent Modifications.t to fail randomly
Bug-18403-Prevent-Modificationst-to-fail-randomly.patch (text/plain), 1.91 KB, created by
Jonathan Druart
on 2018-02-16 13:51:02 UTC
(
hide
)
Description:
Bug 18403: Prevent Modifications.t to fail randomly
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-02-16 13:51:02 UTC
Size:
1.91 KB
patch
obsolete
>From 8d30669458f671913d56596cd0461d8ab2a7c440 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 16 Feb 2018 10:49:43 -0300 >Subject: [PATCH] Bug 18403: Prevent Modifications.t to fail randomly > > # Failed test 'pending_count() correctly returns 2 if filtered by library' > # at t/db_dependent/Koha/Patron/Modifications.t line 355. > # got: '0' > # expected: '2' > > # Failed test 'pending_count() correctly returns 2' > # at t/db_dependent/Koha/Patron/Modifications.t line 360. > # got: '0' > # expected: '2' > > # Failed test 'pending_count() correctly returns 1' > # at t/db_dependent/Koha/Patron/Modifications.t line 365. > # got: '0' > # expected: '1' > # Looks like you failed 3 tests of 16. > > # Failed test 'pending_count() and pending() tests' > # at t/db_dependent/Koha/Patron/Modifications.t line 374. > # Looks like you failed 1 test of 6. > [19:45:28] t/db_dependent/Koha/Patron/Modifications.t > >The logged in patron did not have permissions to view patron's info from other branches. > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > t/db_dependent/Koha/Patron/Modifications.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/Koha/Patron/Modifications.t b/t/db_dependent/Koha/Patron/Modifications.t >index f1e6934c73..188808878d 100755 >--- a/t/db_dependent/Koha/Patron/Modifications.t >+++ b/t/db_dependent/Koha/Patron/Modifications.t >@@ -272,7 +272,7 @@ subtest 'pending_count() and pending() tests' => sub { > > my $patron_1 > = $builder->build( >- { source => 'Borrower', value => { branchcode => $library_1 } } ); >+ { source => 'Borrower', value => { branchcode => $library_1, flags => 1 } } ); > my $patron_2 > = $builder->build( > { source => 'Borrower', value => { branchcode => $library_2 } } ); >-- >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 18403
:
62010
|
62011
|
62012
|
62013
|
62014
|
62015
|
62016
|
62017
|
62018
|
62019
|
62020
|
62021
|
62022
|
62023
|
62024
|
62025
|
62026
|
62027
|
62028
|
62029
|
62030
|
62031
|
62032
|
62033
|
62302
|
62303
|
62830
|
62831
|
62832
|
62833
|
62834
|
62835
|
62836
|
62837
|
62838
|
62839
|
62840
|
62841
|
62842
|
62843
|
62844
|
62845
|
62846
|
62847
|
62848
|
62849
|
62850
|
62851
|
62852
|
62853
|
62854
|
62855
|
71392
|
71394
|
71500
|
71501
|
71502
|
71503
|
71504
|
71505
|
71506
|
71507
|
71508
|
71509
|
71510
|
71511
|
71512
|
71513
|
71514
|
71515
|
71516
|
71517
|
71518
|
71519
|
71520
|
71521
|
71522
|
71523
|
71524
|
71525
|
71526
|
71527
|
71528
|
71529
|
71530
| 71767