Bugzilla – Attachment 59062 Details for
Bug 17917
t/db_dependent/check_sysprefs.t fails on kohadev strangely
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17917: fix Jenkins for t/db_dependent/Suggestions.t
Bug-17917-fix-Jenkins-for-tdbdependentSuggestionst.patch (text/plain), 1.30 KB, created by
Mark Tompsett
on 2017-01-17 06:56:28 UTC
(
hide
)
Description:
Bug 17917: fix Jenkins for t/db_dependent/Suggestions.t
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2017-01-17 06:56:28 UTC
Size:
1.30 KB
patch
obsolete
>From 10ebfeda306d8eaa8b502dd2272d6f713a2c3dab 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 17917: 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 17917
:
59026
|
59027
|
59028
|
59029
|
59030
|
59031
|
59039
|
59040
|
59041
|
59042
|
59044
|
59045
|
59046
|
59052
|
59062
|
59175
|
59206
|
59207
|
59274
|
59287
|
59299
|
59310
|
59311
|
59313
|
59319
|
59320
|
59321