diff --git a/test/unittest/uri_permission_impl_test/mock/include/mock_storage_manager_service.h b/test/unittest/uri_permission_impl_test/mock/include/mock_storage_manager_service.h index 712a0b72e8..6d446bc57c 100755 --- a/test/unittest/uri_permission_impl_test/mock/include/mock_storage_manager_service.h +++ b/test/unittest/uri_permission_impl_test/mock/include/mock_storage_manager_service.h @@ -331,6 +331,16 @@ public: { return E_OK; } + + virtual int32_t MountMediaFuse(int32_t userId, int32_t &devFd) override + { + return E_OK; + } + + virtual int32_t UMountMediaFuse(int32_t userId) override + { + return E_OK; + } }; bool StorageManagerServiceMock::isZero = true;