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