Bug 20356: Add EmailSMSSendDriverFromAddress system preference
[srvgit] / t / Koha_ExternalContent_OverDrive.t
index f4cb775..c09ea29 100755 (executable)
@@ -8,8 +8,6 @@ use Test::MockModule;
 
 use Module::Load::Conditional qw( can_load check_install );
 
-use Koha::Schema;
-
 BEGIN {
     if ( check_install( module => 'Test::DBIx::Class' ) ) {
         plan tests => 5;
@@ -29,6 +27,8 @@ SKIP: {
 
     use_ok('Koha::ExternalContent::OverDrive');
 
+    t::lib::Mocks::mock_preference('SessionStorage','tmp');
+
     t::lib::Mocks::mock_preference('OverDriveClientKey', 'DUMMY');
     t::lib::Mocks::mock_preference('OverDriveClientSecret', 'DUMMY');
     t::lib::Mocks::mock_preference('OverDriveLibraryID', 'DUMMY');