Bugzilla – Attachment 137711 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), 889 bytes, created by
Kyle M Hall (khall)
on 2022-07-14 11:14:55 UTC
(
hide
)
Description:
Bug 31134: Mock EdifactLSQ for t/Edifact.t
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2022-07-14 11:14:55 UTC
Size:
889 bytes
patch
obsolete
>From 81735f3457e9a3ae6f635dbfe2039c07be0ce052 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. > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > t/Ediorder.t | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/t/Ediorder.t b/t/Ediorder.t >index 30767a96716..1b89f8a9c5e 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.30.2
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