Resolve "Unit tests" #56

Merged
leon.hoppe merged 4 commits from feature/unit-tests into dev 2025-01-19 16:23:31 +01:00
Showing only changes of commit 67f3d4742c - Show all commits

View File

@@ -62,6 +62,7 @@ public class HopFrameLayoutTests : TestContext {
Services.AddSingleton(navMock);
Services.AddHopFrame(config);
Services.AddSingleton(authHandlerMock.Object);
JSInterop.Mode = JSRuntimeMode.Loose;
@@ -69,6 +70,6 @@ public class HopFrameLayoutTests : TestContext {
var cut = RenderComponent<HopFrameLayout>();
// Assert
// TODO: check if uri matches
Assert.Equal("http://localhost/login?redirect=/", navMock.Uri);
}
}