From 8a7c457426e3dce9266c33d7e3579be0e74e3201 Mon Sep 17 00:00:00 2001 From: Kjetil Haugland Date: Tue, 8 Oct 2024 15:31:22 +0200 Subject: [PATCH] . --- .../IntegrationTests/PortalControllerTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/tests/Equinor.ProjectExecutionPortal.Tests.WebApi/IntegrationTests/PortalControllerTests.cs b/backend/src/tests/Equinor.ProjectExecutionPortal.Tests.WebApi/IntegrationTests/PortalControllerTests.cs index 0c0da0d7..ec236c0a 100644 --- a/backend/src/tests/Equinor.ProjectExecutionPortal.Tests.WebApi/IntegrationTests/PortalControllerTests.cs +++ b/backend/src/tests/Equinor.ProjectExecutionPortal.Tests.WebApi/IntegrationTests/PortalControllerTests.cs @@ -598,7 +598,7 @@ public async Task Delete_PortalApp_AsAnonymousUser_ShouldReturnUnauthorized() foreach (var portal in portals) { AssertHelpers.AssertPortalValues(portal); - Assert.AreEqual(portal.Apps.Count, 0); // No relational data should be included in this request + Assert.AreEqual(0, portal.Apps.Count); // No relational data should be included in this request } return portals; @@ -622,7 +622,7 @@ public async Task Delete_PortalApp_AsAnonymousUser_ShouldReturnUnauthorized() Assert.IsNotNull(content); AssertHelpers.AssertPortalValues(portal); AssertHelpers.AssertPortalConfigurationValues(portal!.Configuration, acceptNullValues: true); - Assert.AreEqual(portal.Apps.Count, 0); // No relational data should be included in this request + Assert.AreEqual(0, portal.Apps.Count); // No relational data should be included in this request return portal; }