Bugzilla – Attachment 57258 Details for
Bug 17431
Fix failing test t/db_dependent/api/v1/holds.t
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17431: Fix another fail in t/db_dependent/api/v1/holds.t
Bug-17431-Fix-another-fail-in-tdbdependentapiv1hol.patch (text/plain), 1.59 KB, created by
Lari Taskula
on 2016-11-07 13:38:36 UTC
(
hide
)
Description:
Bug 17431: Fix another fail in t/db_dependent/api/v1/holds.t
Filename:
MIME Type:
Creator:
Lari Taskula
Created:
2016-11-07 13:38:36 UTC
Size:
1.59 KB
patch
obsolete
>From d97b1a0d9dfab7d893da5ee80b641b6773056297 Mon Sep 17 00:00:00 2001 >From: Lari Taskula <lari.taskula@jns.fi> >Date: Mon, 7 Nov 2016 15:28:42 +0200 >Subject: [PATCH] Bug 17431: Fix another fail in t/db_dependent/api/v1/holds.t > >perl t/db_dependent/api/v1/holds.t fails with 500 > >ok 2 - Test endpoints without permission > # Subtest: Test endpoints without permission, but accessing own object > 1..15 > ok 1 - POST /api/v1/holds > not ok 2 - 201 Created > # Failed test '201 Created' > # at t/db_dependent/api/v1/holds.t line 189. > # got: '500' > # expected: '201' > not ok 3 - has value for JSON Pointer "/reserve_id" > # Failed test 'has value for JSON Pointer "/reserve_id"' > # at t/db_dependent/api/v1/holds.t line 189. > ok 4 - GET /api/v1/holds?borrowernumber=659207 > ok 5 - 200 OK > not ok 6 - exact match for JSON Pointer "/0/borrowernumber" > # Failed test 'exact match for JSON Pointer "/0/borrowernumber"' > # at t/db_dependent/api/v1/holds.t line 199. > # got: undef > # expected: '659207' > >To test: >1. Run t/db_dependent/api/v1/holds.t >2. Observe above failure >3. Apply patch >4. Observe test pass >--- > t/db_dependent/api/v1/holds.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/api/v1/holds.t b/t/db_dependent/api/v1/holds.t >index 8395f52..7841d4a 100644 >--- a/t/db_dependent/api/v1/holds.t >+++ b/t/db_dependent/api/v1/holds.t >@@ -25,8 +25,8 @@ use DateTime; > > use C4::Context; > use C4::Biblio; >-use C4::Items; > use C4::Reserves; >+use C4::Items; > > use Koha::Database; > use Koha::Patron; >-- >1.9.1
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 17431
:
56252
|
56288
|
56655
|
56656
|
56657
|
56658
|
57258
|
57282
|
57283
|
57284
|
57285
|
57584
|
57585
|
57600
|
57601
|
57602
|
57603