bisschen tests fixen

This commit is contained in:
2026-02-23 16:00:04 +01:00
parent 99db252f60
commit 7b53faca37
5 changed files with 43 additions and 41 deletions

View File

@@ -120,8 +120,7 @@ class ImportServiceTest extends TestCase
$stateStore = $stateStore ?? $this->createMock(ImportStateStoreService::class);
$permissionGateway = $this->createMock(PermissionGateway::class);
$permissionGateway->method('userHas')->willReturn(false);
$settingService = $this->createMock('MintyPHP\\Service\\Settings\\SettingService');
$settingGateway = new SettingGateway($settingService);
$settingGateway = $this->createMock(SettingGateway::class);
$userScopeGateway = $this->createMock(UserScopeGateway::class);
$userScopeGateway->method('hasGlobalAccess')->willReturn(false);
$userScopeGateway->method('getUserTenantIds')->willReturn([]);