From fa36f50f5a8855432b447fd59ac507627229857d Mon Sep 17 00:00:00 2001 From: Phil Schneider Date: Wed, 8 May 2024 08:07:29 +0200 Subject: [PATCH] tests: adjust unit tests for composite roles Refs: #718 --- .../CompanyRoleCollectionRolesViewTests.cs | 2 +- .../Seeder/Data/app_instances.test.json | 10 ---------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/tests/portalbackend/PortalBackend.DBAccess.Tests/CompanyRoleCollectionRolesViewTests.cs b/tests/portalbackend/PortalBackend.DBAccess.Tests/CompanyRoleCollectionRolesViewTests.cs index 5a2802efd7..e69ff9cfb7 100644 --- a/tests/portalbackend/PortalBackend.DBAccess.Tests/CompanyRoleCollectionRolesViewTests.cs +++ b/tests/portalbackend/PortalBackend.DBAccess.Tests/CompanyRoleCollectionRolesViewTests.cs @@ -46,7 +46,7 @@ public async Task CompanyRoleCollectionRolesView_GetAll_ReturnsExpected() // Act var result = await sut.CompanyRoleCollectionRolesView.ToListAsync().ConfigureAwait(false); - result.Should().HaveCount(26); + result.Should().HaveCount(46); } [Fact] diff --git a/tests/portalbackend/PortalBackend.DBAccess.Tests/Seeder/Data/app_instances.test.json b/tests/portalbackend/PortalBackend.DBAccess.Tests/Seeder/Data/app_instances.test.json index 726ba778db..b776223258 100644 --- a/tests/portalbackend/PortalBackend.DBAccess.Tests/Seeder/Data/app_instances.test.json +++ b/tests/portalbackend/PortalBackend.DBAccess.Tests/Seeder/Data/app_instances.test.json @@ -9,19 +9,9 @@ "app_id": "ac1cf001-7fbc-1f2f-817f-bce05744000b", "iam_client_id": "cf207afb-d213-4c33-becc-0cabeef174a7" }, - { - "id": "e080bb4b-567b-477e-adcf-080efc457d38", - "app_id": "9ef01c20-6d9d-41ef-b336-fa64e1e2e4c2", - "iam_client_id": "f032a034-d035-11ec-9d64-0242ac120002" - }, { "id": "b161d570-f6ff-45b4-a077-243f72487af6", "app_id": "ac1cf001-7fbc-1f2f-817f-bce0572c0007", "iam_client_id": "f032a042-d035-11ec-9d64-0242ac120002" - }, - { - "id": "1ef3a9b0-e8ef-48cc-9b88-65bacd6f05fb", - "app_id": "0ffcb416-1101-4ba6-8d4a-a9dfa31745a4", - "iam_client_id": "f032a049-d035-11ec-9d64-0242ac120002" } ]