Skip to content

replace claims based policyhandler by identityservice based one #1595

replace claims based policyhandler by identityservice based one

replace claims based policyhandler by identityservice based one #1595

Triggered via pull request November 30, 2023 12:24
Status Failure
Total duration 1m 31s
Artifacts

unit.tests-formatting.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
build (7.0): tests/marketplace/Offers.Library.Tests/Service/OfferSetupServiceTests.cs#L1324
'ValueTask<IdentityData>' does not contain a definition for 'CompanyId' and no accessible extension method 'CompanyId' accepting a first argument of type 'ValueTask<IdentityData>' could be found (are you missing a using directive or an assembly reference?)
build (7.0): tests/marketplace/Offers.Library.Tests/Service/OfferSetupServiceTests.cs#L1332
'ValueTask<IdentityData>' does not contain a definition for 'CompanyId' and no accessible extension method 'CompanyId' accepting a first argument of type 'ValueTask<IdentityData>' could be found (are you missing a using directive or an assembly reference?)
build (7.0): tests/marketplace/Offers.Library.Tests/Service/OfferSetupServiceTests.cs#L1345
'ValueTask<IdentityData>' does not contain a definition for 'CompanyId' and no accessible extension method 'CompanyId' accepting a first argument of type 'ValueTask<IdentityData>' could be found (are you missing a using directive or an assembly reference?)
build (7.0): tests/portalbackend/PortalBackend.DBAccess.Tests/Identities/IdentityServiceTests.cs#L65
'IdentityService' does not contain a definition for 'IdentityData' and no accessible extension method 'IdentityData' accepting a first argument of type 'IdentityService' could be found (are you missing a using directive or an assembly reference?)
build (7.0): tests/portalbackend/PortalBackend.DBAccess.Tests/Identities/IdentityServiceTests.cs#L66
'IdentityService' does not contain a definition for 'IdentityData' and no accessible extension method 'IdentityData' accepting a first argument of type 'IdentityService' could be found (are you missing a using directive or an assembly reference?)
build (7.0): tests/portalbackend/PortalBackend.DBAccess.Tests/Identities/IdentityServiceTests.cs#L85
The call is ambiguous between the following methods or properties: 'ReturnValueConfigurationExtensions.Returns<T>(IReturnValueConfiguration<T>, T)' and 'ReturnValueConfigurationExtensions.Returns<T>(IReturnValueConfiguration<Task<T>>, T)'
build (7.0): tests/portalbackend/PortalBackend.DBAccess.Tests/Identities/IdentityServiceTests.cs#L88
'IdentityService' does not contain a definition for 'IdentityData' and no accessible extension method 'IdentityData' accepting a first argument of type 'IdentityService' could be found (are you missing a using directive or an assembly reference?)
build (7.0): tests/marketplace/Offers.Library.Tests/Service/OfferSetupServiceTests.cs#L1324
'ValueTask<IdentityData>' does not contain a definition for 'CompanyId' and no accessible extension method 'CompanyId' accepting a first argument of type 'ValueTask<IdentityData>' could be found (are you missing a using directive or an assembly reference?)
build (7.0): tests/marketplace/Offers.Library.Tests/Service/OfferSetupServiceTests.cs#L1332
'ValueTask<IdentityData>' does not contain a definition for 'CompanyId' and no accessible extension method 'CompanyId' accepting a first argument of type 'ValueTask<IdentityData>' could be found (are you missing a using directive or an assembly reference?)
build (7.0): tests/marketplace/Offers.Library.Tests/Service/OfferSetupServiceTests.cs#L1345
'ValueTask<IdentityData>' does not contain a definition for 'CompanyId' and no accessible extension method 'CompanyId' accepting a first argument of type 'ValueTask<IdentityData>' could be found (are you missing a using directive or an assembly reference?)
build (7.0): src/keycloak/Keycloak.Library/Common/Converters/JsonEnumConverter.cs#L41
Nullability of type of parameter 'value' doesn't match overridden member (possibly because of nullability attributes).
build (7.0): src/keycloak/Keycloak.Library/Common/Converters/JsonEnumConverter.cs#L47
Nullability of type of parameter 'existingValue' doesn't match overridden member (possibly because of nullability attributes).
build (7.0): src/keycloak/Keycloak.Library/Models/UserStorageProvider/SynchronizationResult.cs#L42
Non-nullable property 'Status' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build (7.0): src/keycloak/Keycloak.Library/Models/Users/UserSession.cs#L34
Non-nullable property 'Id' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build (7.0): src/keycloak/Keycloak.Library/Models/Users/UserSession.cs#L36
Non-nullable property 'UserName' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build (7.0): src/keycloak/Keycloak.Library/Models/Users/UserSession.cs#L38
Non-nullable property 'UserId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build (7.0): src/keycloak/Keycloak.Library/Models/Users/UserSession.cs#L40
Non-nullable property 'IpAddress' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build (7.0): src/keycloak/Keycloak.Library/Models/Users/UserSession.cs#L46
Non-nullable property 'Clients' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build (7.0): src/keycloak/Keycloak.Library/Models/Users/UserConsent.cs#L34
Non-nullable property 'ClientId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build (7.0): src/keycloak/Keycloak.Library/Models/Users/UserConsent.cs#L36
Non-nullable property 'GrantedClientScopes' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.