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>
This commit is contained in:
parent
b6afcdbf48
commit
318bb17d58
|
|
@ -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