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>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 318bb17d58)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
87d7ded490
commit
f349393bd0
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue