Bugzilla – Attachment 59061 Details for
Bug 17918
Make Koha News add form show up on a pop up box when 'New' is clicked from home page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17918: fix Jenkins for t/db_dependent/Suggestions.t
Bug-17918-fix-Jenkins-for-tdbdependentSuggestionst.patch (text/plain), 1.30 KB, created by
Mark Tompsett
on 2017-01-17 06:54:23 UTC
(
hide
)
Description:
Bug 17918: fix Jenkins for t/db_dependent/Suggestions.t
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2017-01-17 06:54:23 UTC
Size:
1.30 KB
patch
obsolete
>From 2590f8833fd15eccb7520b4ca688b9a23d0e1840 Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Tue, 17 Jan 2017 06:52:37 +0000 >Subject: [PATCH] Bug 17918: fix Jenkins for t/db_dependent/Suggestions.t > >TEST PLAN >--------- >1) sudo koha-shell -c "prove t/db_dependent/Suggestions.t" kohadev > -- fails >2) apply patch >3) sudo koha-shell -c "prove t/db_dependent/Suggestions.t" kohadev > -- succeeds >4) run koha qa test tools >--- > t/db_dependent/Suggestions.t | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/Suggestions.t b/t/db_dependent/Suggestions.t >index 63f390e..d45678d 100644 >--- a/t/db_dependent/Suggestions.t >+++ b/t/db_dependent/Suggestions.t >@@ -18,6 +18,7 @@ > use Modern::Perl; > > use t::lib::Mocks; >+use t::lib::TestBuilder; > use C4::Context; > use C4::Members; > use C4::Letters; >@@ -35,6 +36,7 @@ BEGIN { > use_ok('C4::Suggestions'); > } > >+my $builder = t::lib::TestBuilder->new(); > my $dbh = C4::Context->dbh; > my $sql; > >@@ -87,7 +89,11 @@ my $member = { > categorycode => 'S', > branchcode => 'CPL', > }; >-my $borrowernumber = AddMember(%$member); >+my $patron = $builder->build({ >+ source => 'Borrower', >+ value => $member, >+}); >+my $borrowernumber = $patron->{borrowernumber}; > > my $biblionumber1 = 1; > my $my_suggestion = { >-- >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 17918
:
59061