Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mgunnerud committed Dec 13, 2024
1 parent eb66b8d commit 782440f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ public async Task<ActionResult<List<AccessPackageService>>> GetServicesForAccess
// 3. GET full list of resources
List<ServiceResource> environmentResources = await _resourceRegistry.GetResourceList(env, false, true);
List<AttributeMatchV2> resources = subjectResources.Find(x => x.Subject.Urn == accesspackage)?.Resources;

OrgList orgList = await GetOrgList();
List<AccessPackageService> result = [];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public async Task GetFilteredLinkServices()
ExternalServiceCode = "Test2",
ExternalServiceEditionCode = 123
});
ResourceRegistryMock.Setup(r => r.GetResourceList(It.IsAny<string>(), It.IsAny<bool>())).ReturnsAsync(new List<ServiceResource>());
ResourceRegistryMock.Setup(r => r.GetResourceList(It.IsAny<string>(), It.IsAny<bool>(), It.IsAny<bool>())).ReturnsAsync(new List<ServiceResource>());
Altinn2MetadataClientMock.Setup(r => r.AvailableServices(It.IsAny<int>(), It.IsAny<string>())).ReturnsAsync(services);

// Act
Expand Down

0 comments on commit 782440f

Please sign in to comment.