Skip to content

Commit

Permalink
temp check to see actual response
Browse files Browse the repository at this point in the history
  • Loading branch information
lovoll committed Oct 21, 2024
1 parent cd0e5f4 commit 0a95e97
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Altinn.AccessManagement/appsettings.Development.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@
"BaseApiUrl": "https://at22.altinn.cloud/sblbridge/"
},
"PlatformSettings": {
"ApiResourceRegistryEndpoint": "http://localhost:5100/resourceregistry/api/v1/",
"ApiResourceRegistryEndpoint": "https://platform.at22.altinn.cloud/resourceregistry/api/v1/",
"ApiRegisterEndpoint": "http://localhost:5020/register/api/v1/",
"ApiProfileEndpoint": "http://localhost:5030/profile/api/v1/",
"ApiAuthorizationEndpoint": "http://localhost:49723/authorization/api/v1/"
"ApiAuthorizationEndpoint": "http://localhost:5070/authorization/api/v1/",
"ApiAuthenticationEndpoint": "https://platform.at22.altinn.cloud/authentication/api/v1/"
},
"OidcProviders": {
"altinn": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ public async Task AppsInstanceDelegationController_ValidToken_Get_OK(string plat
HttpResponseMessage response = await client.GetAsync($"accessmanagement/api/v1/app/delegations/resource/{resourceId}/instance/{instanceId}");

// Assert
Assert.Equal("Test", await response.Content.ReadAsStringAsync());
Assert.Equal(HttpStatusCode.OK, response.StatusCode);

Paginated<AppsInstanceDelegationResponseDto> actual = JsonSerializer.Deserialize<Paginated<AppsInstanceDelegationResponseDto>>(await response.Content.ReadAsStringAsync(), options);
Expand Down

0 comments on commit 0a95e97

Please sign in to comment.