Bugzilla – Attachment 65178 Details for
Bug 18826
REST API tests do not clean up
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18826 - (QA Followup) Add mock SessionStorage to patrons.t
Bug-18826---QA-Followup-Add-mock-SessionStorage-to.patch (text/plain), 877 bytes, created by
Nick Clemens (kidclamp)
on 2017-07-21 12:09:25 UTC
(
hide
)
Description:
Bug 18826 - (QA Followup) Add mock SessionStorage to patrons.t
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2017-07-21 12:09:25 UTC
Size:
877 bytes
patch
obsolete
>From e4488a070a15bc3d58524d68104e22687a66c077 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 21 Jul 2017 12:07:19 +0000 >Subject: [PATCH] Bug 18826 - (QA Followup) Add mock SessionStorage to > patrons.t > >--- > t/db_dependent/api/v1/patrons.t | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/t/db_dependent/api/v1/patrons.t b/t/db_dependent/api/v1/patrons.t >index 705a2f8..909e36e 100644 >--- a/t/db_dependent/api/v1/patrons.t >+++ b/t/db_dependent/api/v1/patrons.t >@@ -33,6 +33,10 @@ my $builder = t::lib::TestBuilder->new(); > > $schema->storage->txn_begin; > >+# FIXME: sessionStorage defaults to mysql, but it seems to break transaction handling >+# this affects the other REST api tests >+t::lib::Mocks::mock_preference( 'SessionStorage', 'tmp' ); >+ > $ENV{REMOTE_ADDR} = '127.0.0.1'; > my $t = Test::Mojo->new('Koha::REST::V1'); > >-- >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 18826
:
65012
|
65143
|
65177
| 65178