Added a simple web api abstraction method
This commit is contained in:
@@ -25,7 +25,7 @@ public class HopFrameLayoutTests : TestContext {
|
||||
.ReturnsAsync(true);
|
||||
|
||||
Services.AddSingleton(authHandlerMock.Object);
|
||||
Services.AddHopFrame(config);
|
||||
Services.AddHopFrame(config, null, false);
|
||||
|
||||
JSInterop.Mode = JSRuntimeMode.Loose;
|
||||
|
||||
@@ -61,7 +61,7 @@ public class HopFrameLayoutTests : TestContext {
|
||||
.ReturnsAsync(false);
|
||||
|
||||
Services.AddSingleton(navMock);
|
||||
Services.AddHopFrame(config);
|
||||
Services.AddHopFrame(config, null, false);
|
||||
Services.AddSingleton(authHandlerMock.Object);
|
||||
|
||||
JSInterop.Mode = JSRuntimeMode.Loose;
|
||||
|
||||
@@ -22,7 +22,7 @@ public class HopFrameNavigationTests : TestContext {
|
||||
.ReturnsAsync("John Doe");
|
||||
|
||||
Services.AddSingleton(authHandlerMock.Object);
|
||||
Services.AddHopFrame(config);
|
||||
Services.AddHopFrame(config, null, false);
|
||||
|
||||
JSInterop.Mode = JSRuntimeMode.Loose;
|
||||
|
||||
@@ -51,7 +51,7 @@ public class HopFrameNavigationTests : TestContext {
|
||||
.ReturnsAsync("John Doe");
|
||||
|
||||
Services.AddSingleton(authHandlerMock.Object);
|
||||
Services.AddHopFrame(config);
|
||||
Services.AddHopFrame(config, null, false);
|
||||
|
||||
JSInterop.Mode = JSRuntimeMode.Loose;
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ public class HopFrameSideMenuTests : TestContext {
|
||||
|
||||
Services.AddSingleton(contextExplorerMock.Object);
|
||||
Services.AddSingleton(authHandlerMock.Object);
|
||||
Services.AddHopFrame(config);
|
||||
Services.AddHopFrame(config, null, false);
|
||||
|
||||
JSInterop.Mode = JSRuntimeMode.Loose;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user