From 150ca18680f0b07534a9b6139a956750fa3cabf7 Mon Sep 17 00:00:00 2001 From: Alexander van Delft Date: Thu, 9 Jan 2025 17:19:51 +0100 Subject: [PATCH] [FIX] Unit tests --- .../MultiModelEditor/ElementDefinitionTreeTestFixture.cs | 4 ++-- COMETwebapp/appsettings.Development.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/COMETwebapp.Tests/Components/MultiModelEditor/ElementDefinitionTreeTestFixture.cs b/COMETwebapp.Tests/Components/MultiModelEditor/ElementDefinitionTreeTestFixture.cs index 2179be21..b4d51a10 100644 --- a/COMETwebapp.Tests/Components/MultiModelEditor/ElementDefinitionTreeTestFixture.cs +++ b/COMETwebapp.Tests/Components/MultiModelEditor/ElementDefinitionTreeTestFixture.cs @@ -229,7 +229,7 @@ public void VerifyDragIsNotAllowed() { Assert.That(firstItem, Is.Not.Null); Assert.That(firstItem.InnerHtml, Contains.Substring("Test1")); - Assert.That(firstItem.Attributes.Length, Is.EqualTo(1)); + Assert.That(firstItem.Attributes.Length, Is.EqualTo(2)); }); } @@ -248,7 +248,7 @@ public void VerifyDragIsAllowed() { Assert.That(firstItem, Is.Not.Null); Assert.That(firstItem.InnerHtml, Contains.Substring("Test1")); - Assert.That(firstItem.Attributes.Length, Is.EqualTo(9)); + Assert.That(firstItem.Attributes.Length, Is.EqualTo(10)); }); } } diff --git a/COMETwebapp/appsettings.Development.json b/COMETwebapp/appsettings.Development.json index a7200e21..7db92f2e 100644 --- a/COMETwebapp/appsettings.Development.json +++ b/COMETwebapp/appsettings.Development.json @@ -1,6 +1,6 @@ { "ServerConfiguration": { - "ServerAddress": "http://localhost:5000/" + "ServerAddress": "" }, "DetailedErrors": true }