Bugzilla – Attachment 87066 Details for
Bug 22008
accountlines.manager_id is missing a foreign key constraint
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22008: (follow-up) Additional test fix and fix typo
Bug-22008-follow-up-Additional-test-fix-and-fix-ty.patch (text/plain), 1.58 KB, created by
Nick Clemens
on 2019-03-27 13:14:10 UTC
(
hide
)
Description:
Bug 22008: (follow-up) Additional test fix and fix typo
Filename:
MIME Type:
Creator:
Nick Clemens
Created:
2019-03-27 13:14:10 UTC
Size:
1.58 KB
patch
obsolete
>From a7a6223f42d54e8994c27243819e2cda2096db65 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Wed, 27 Mar 2019 13:13:48 +0000 >Subject: [PATCH] Bug 22008: (follow-up) Additional test fix and fix typo > >--- > t/db_dependent/Circulation.t | 2 +- > t/db_dependent/Koha/Holds.t | 2 ++ > 2 files changed, 3 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/Circulation.t b/t/db_dependent/Circulation.t >index 6c5e6e9566..fa4e6342ac 100755 >--- a/t/db_dependent/Circulation.t >+++ b/t/db_dependent/Circulation.t >@@ -2006,7 +2006,7 @@ subtest '_FixAccountForLostAndReturned' => sub { > plan tests => 10; > > my $patron = $builder->build_object( { class => 'Koha::Patrons' } ); >- my manager = $builder->build_object({ class => "Koha::Patrons" }); >+ my $manager = $builder->build_object({ class => "Koha::Patrons" }); > t::lib::Mocks::mock_userenv({ patron => $manager,branchcode => $manager->branchcode }); > > my $item = $builder->build_sample_item( >diff --git a/t/db_dependent/Koha/Holds.t b/t/db_dependent/Koha/Holds.t >index c2399d66b5..783204a33e 100644 >--- a/t/db_dependent/Koha/Holds.t >+++ b/t/db_dependent/Koha/Holds.t >@@ -47,6 +47,8 @@ subtest 'cancel' => sub { > itype => $itemtype->itemtype, > }; > my $item = $builder->build_object( { class => 'Koha::Items', value => $item_info } ); >+ my $manager = $builder->build_object({ class => "Koha::Patrons" }); >+ t::lib::Mocks::mock_userenv({ patron => $manager,branchcode => $manager->branchcode }); > > my ( @patrons, @holds ); > for my $i ( 0 .. 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 22008
:
83278
|
83280
|
83460
|
83461
|
83462
|
85267
|
85268
|
85613
|
85614
|
85767
|
85768
|
86162
|
86163
|
86164
|
86659
|
86660
|
86661
|
86994
|
86995
| 87066 |
87072