Skip to content

[PM-13322] [BEEEP] Add PolicyValidators and refactor policy save logic #5063

[PM-13322] [BEEEP] Add PolicyValidators and refactor policy save logic

[PM-13322] [BEEEP] Add PolicyValidators and refactor policy save logic #5063

Triggered via pull request October 18, 2024 02:14
Status Failure
Total duration 2m 11s
Artifacts

test.yml

on: pull_request
Check for test secrets
0s
Check for test secrets
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 11 warnings
Run tests
No test report files were found
Run tests: test/Core.Test/AdminConsole/OrganizationFeatures/Policies/PolicyValidators/TwoFactorAuthenticationPolicyValidatorTests.cs#L105
'IOrganizationService' does not contain a definition for 'RemoveUserAsync' and no accessible extension method 'RemoveUserAsync' accepting a first argument of type 'IOrganizationService' could be found (are you missing a using directive or an assembly reference?)
Run tests: test/Core.Test/AdminConsole/OrganizationFeatures/Policies/PolicyValidators/TwoFactorAuthenticationPolicyValidatorTests.cs#L110
'IOrganizationService' does not contain a definition for 'RemoveUserAsync' and no accessible extension method 'RemoveUserAsync' accepting a first argument of type 'IOrganizationService' could be found (are you missing a using directive or an assembly reference?)
Run tests: test/Core.Test/AdminConsole/OrganizationFeatures/Policies/PolicyValidators/TwoFactorAuthenticationPolicyValidatorTests.cs#L114
'IOrganizationService' does not contain a definition for 'RemoveUserAsync' and no accessible extension method 'RemoveUserAsync' accepting a first argument of type 'IOrganizationService' could be found (are you missing a using directive or an assembly reference?)
Run tests: test/Core.Test/AdminConsole/OrganizationFeatures/Policies/PolicyValidators/TwoFactorAuthenticationPolicyValidatorTests.cs#L118
'IOrganizationService' does not contain a definition for 'RemoveUserAsync' and no accessible extension method 'RemoveUserAsync' accepting a first argument of type 'IOrganizationService' could be found (are you missing a using directive or an assembly reference?)
Run tests: test/Core.Test/AdminConsole/OrganizationFeatures/Policies/PolicyValidators/TwoFactorAuthenticationPolicyValidatorTests.cs#L209
'IOrganizationService' does not contain a definition for 'RemoveUserAsync' and no accessible extension method 'RemoveUserAsync' accepting a first argument of type 'IOrganizationService' could be found (are you missing a using directive or an assembly reference?)
Run tests: test/Core.Test/AdminConsole/OrganizationFeatures/Policies/PolicyValidators/SingleOrgPolicyValidatorTests.cs#L118
No overload for method 'OnSaveSideEffectsAsync' takes 3 arguments
Run tests: test/Core.Test/AdminConsole/OrganizationFeatures/Policies/PolicyValidators/SingleOrgPolicyValidatorTests.cs#L120
'IOrganizationService' does not contain a definition for 'RemoveUserAsync' and no accessible extension method 'RemoveUserAsync' accepting a first argument of type 'IOrganizationService' could be found (are you missing a using directive or an assembly reference?)
Run tests
Process completed with exit code 1.
Run tests
No file matches path **/*-test-results.trx
Run tests: src/Core/Models/Mail/Provider/ProviderInitiateDeleteModel.cs#L11
'ProviderInitiateDeleteModel.WebVaultUrl' hides inherited member 'BaseMailModel.WebVaultUrl'. Use the new keyword if hiding was intended.
Run tests: src/Core/Models/Mail/Provider/ProviderInitiateDeleteModel.cs#L14
'ProviderInitiateDeleteModel.SiteName' hides inherited member 'BaseMailModel.SiteName'. Use the new keyword if hiding was intended.
Run tests: src/Core/AdminConsole/OrganizationFeatures/OrganizationUsers/UpdateOrganizationUserCommand.cs#L121
Possible null reference argument for parameter 'collections' in 'Task IOrganizationUserRepository.ReplaceAsync(OrganizationUser obj, IEnumerable<CollectionAccessSelection> collections)'.
Run tests: test/Core.Test/AdminConsole/Services/OrganizationServiceTests.cs#L100
Cannot convert null literal to non-nullable reference type.
Run tests: test/Core.Test/AdminConsole/Services/OrganizationServiceTests.cs#L104
Cannot convert null literal to non-nullable reference type.
Run tests: test/Core.Test/AdminConsole/Services/OrganizationServiceTests.cs#L175
Cannot convert null literal to non-nullable reference type.
Run tests: test/Core.Test/AdminConsole/Services/OrganizationServiceTests.cs#L177
Cannot convert null literal to non-nullable reference type.
Run tests: test/Core.Test/AdminConsole/Services/OrganizationServiceTests.cs#L179
Cannot convert null literal to non-nullable reference type.
Run tests: test/Core.Test/AdminConsole/Services/OrganizationServiceTests.cs#L179
Cannot convert null literal to non-nullable reference type.