Bugzilla – Attachment 137714 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), 963 bytes, created by
Jonathan Druart
on 2022-07-14 12:18:18 UTC
(
hide
)
Description:
Bug 31134: Mock EdifactLSQ for t/Edifact.t
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2022-07-14 12:18:18 UTC
Size:
963 bytes
patch
obsolete
>From 987283fa74e9cb667dce2192c9a6c51167807b7a 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> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > 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.25.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