diff --git a/src/BootstrapBlazor/BootstrapBlazor.csproj b/src/BootstrapBlazor/BootstrapBlazor.csproj index 0d01b0e34b4..4b2514aa5e5 100644 --- a/src/BootstrapBlazor/BootstrapBlazor.csproj +++ b/src/BootstrapBlazor/BootstrapBlazor.csproj @@ -1,7 +1,7 @@ - 9.4.1-beta01 + 9.4.1 diff --git a/test/UnitTest/Components/AjaxTest.cs b/test/UnitTest/Components/AjaxTest.cs index 9ba34065910..19b4fc96cad 100644 --- a/test/UnitTest/Components/AjaxTest.cs +++ b/test/UnitTest/Components/AjaxTest.cs @@ -14,14 +14,16 @@ public async Task Ajax_Test() { Url = "/api/Login", Method = "POST", - Data = new { UserName = "admin", Password = "1234567" }, - ToJson = false + Data = new { UserName = "admin", Password = "1234567" } }; Assert.Equal("/api/Login", option.Url); Assert.Equal("POST", option.Method); - Assert.False(option.ToJson); + Assert.True(option.ToJson); Assert.NotNull(option.Data); + option.ToJson = false; + Assert.False(option.ToJson); + var service = Context.Services.GetRequiredService(); await service.InvokeAsync(option); }