Skip to content

Commit 3b3af1d

Browse files
Copilotjaviercn
andcommitted
Remove redundant CustomIntSerializer registration from BasicTestApp
Co-authored-by: javiercn <[email protected]>
1 parent 365064d commit 3b3af1d

File tree

1 file changed

+0
-4
lines changed
  • src/Components/test/testassets/BasicTestApp

1 file changed

+0
-4
lines changed

src/Components/test/testassets/BasicTestApp/Program.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
using Microsoft.AspNetCore.Components.WebAssembly.Services;
1414
using Microsoft.Extensions.Logging.Configuration;
1515
using Microsoft.JSInterop;
16-
using TestContentPackage;
1716

1817
namespace BasicTestApp;
1918

@@ -46,9 +45,6 @@ public static async Task Main(string[] args)
4645
builder.Services.AddScoped<PreserveStateService>();
4746
builder.Services.AddTransient<FormsTest.ValidationComponentDI.SaladChef>();
4847

49-
// Register custom serializer for E2E testing of persistent component state serialization extensibility
50-
builder.Services.AddSingleton<IPersistentComponentStateSerializer<int>, CustomIntSerializer>();
51-
5248
builder.Services.AddKeyedSingleton("keyed-service-1", TestKeyedService.Create("value-1"));
5349
builder.Services.AddKeyedSingleton(TestServiceKey.ServiceB, TestKeyedService.Create("value-2"));
5450

0 commit comments

Comments
 (0)