Bugzilla – Attachment 137710 Details for
Bug 31134
t/Ediorder.t tests failing on 22.05.02
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31134: Mock EdifactLSQ for t/Edifact.t
Bug-31134-Mock-EdifactLSQ-for-tEdifactt.patch (text/plain), 831 bytes, created by
Martin Renvoize (ashimema)
on 2022-07-14 11:06:34 UTC
(
hide
)
Description:
Bug 31134: Mock EdifactLSQ for t/Edifact.t
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2022-07-14 11:06:34 UTC
Size:
831 bytes
patch
obsolete
>From 7758e932856545f4d42e90ffaf7b7157aa969c5f Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Thu, 14 Jul 2022 12:05:29 +0100 >Subject: [PATCH] Bug 31134: Mock EdifactLSQ for t/Edifact.t > >This patch adds a mock for the EdifactLSQ preference so we can >consistently pass when a database is not available. >--- > t/Ediorder.t | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/t/Ediorder.t b/t/Ediorder.t >index 30767a9671..1b89f8a9c5 100755 >--- a/t/Ediorder.t >+++ b/t/Ediorder.t >@@ -4,8 +4,10 @@ use warnings; > use FindBin qw( $Bin ); > > use Test::More tests => 13; >+use t::lib::Mocks; > > BEGIN { use_ok('Koha::Edifact::Order') } >+t::lib::Mocks::mock_preference('EdifactLSQ', 'location'); > > # The following tests are for internal methods but they could > # error spectacularly so best >-- >2.20.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 31134
:
137710
|
137711
|
137714