From 1b73aed54bbea652fbc3201d58e51a7c42b11488 Mon Sep 17 00:00:00 2001 From: emregokrem Date: Thu, 1 Aug 2024 11:35:42 +0300 Subject: [PATCH] test: deleted duplicated test class --- .../MenuSettingsItemTests.cs | 31 ------------------- 1 file changed, 31 deletions(-) delete mode 100644 SiemensIXBlazor.Tests/MenuSettingsItemTests.cs diff --git a/SiemensIXBlazor.Tests/MenuSettingsItemTests.cs b/SiemensIXBlazor.Tests/MenuSettingsItemTests.cs deleted file mode 100644 index 54e02e8..0000000 --- a/SiemensIXBlazor.Tests/MenuSettingsItemTests.cs +++ /dev/null @@ -1,31 +0,0 @@ -using Bunit; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using SiemensIXBlazor.Components; -using Microsoft.AspNetCore.Components; - - -namespace SiemensIXBlazor.Tests.MenuSettings - - -public class MenuSettingsItemTests : TestContext -{ - - public void MenuSettingsItemRendersCorrectly() - { - // Arrange - using var ctx = new TestContext(); - - RenderFragment childContent = builder => - { - builder.AddContent(0, "Test Content"); - }; - - // Act - var cut = ctx.RenderComponent(parameters => parameters - .Add(p => p.Label, "Test Label") - .Add(p => p.ChildContent, childContent)); - - // Assert - cut.MarkupMatches("Test Content"); - } -} \ No newline at end of file