Skip to content

Commit 9916739

Browse files
Copilotjaviercn
andcommitted
Update remaining test files to remove RootTypeCache constructor parameters
Co-authored-by: javiercn <[email protected]>
1 parent b2d6288 commit 9916739

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

src/Components/Server/test/Circuits/CircuitHostTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ private ProtectedPrerenderComponentApplicationStore CreateStore()
834834

835835
private ServerComponentDeserializer CreateDeserializer()
836836
{
837-
return new ServerComponentDeserializer(_ephemeralDataProtectionProvider, NullLogger<ServerComponentDeserializer>.Instance, new RootTypeCache(), new ComponentParameterDeserializer(NullLogger<ComponentParameterDeserializer>.Instance, new ComponentParametersTypeCache()));
837+
return new ServerComponentDeserializer(_ephemeralDataProtectionProvider, NullLogger<ServerComponentDeserializer>.Instance, new ComponentParameterDeserializer(NullLogger<ComponentParameterDeserializer>.Instance, new ComponentParametersTypeCache()));
838838
}
839839

840840
private static TestRemoteRenderer GetRemoteRenderer()

src/Components/Server/test/Circuits/CircuitPersistenceManagerTest.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,6 @@ await circuitHost.UpdateRootComponents(
474474
private static ServerComponentDeserializer CreateDeserializer(EphemeralDataProtectionProvider dataProtectionProvider) => new ServerComponentDeserializer(
475475
dataProtectionProvider,
476476
NullLoggerFactory.Instance.CreateLogger<ServerComponentDeserializer>(),
477-
new RootTypeCache(),
478477
new ComponentParameterDeserializer(
479478
NullLoggerFactory.Instance.CreateLogger<ComponentParameterDeserializer>(),
480479
new ComponentParametersTypeCache()));

src/Components/Server/test/Circuits/RemoteRendererTest.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,6 @@ private TestRemoteRenderer GetRemoteRenderer(IServiceProvider serviceProvider, C
646646
var serverComponentDeserializer = new ServerComponentDeserializer(
647647
_ephemeralDataProtectionProvider,
648648
NullLogger<ServerComponentDeserializer>.Instance,
649-
new RootTypeCache(),
650649
new ComponentParameterDeserializer(
651650
NullLogger<ComponentParameterDeserializer>.Instance,
652651
new ComponentParametersTypeCache()));

0 commit comments

Comments
 (0)