-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Labels
area-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor Componentstest-failuretest-fixed
Milestone
Description
Failing Test(s)
- Microsoft.AspNetCore.Components.Routing.RouteTableFactoryTests.CanCacheRouteTable
Error Message
Assert.Same() Failure
Expected: RouteTable { Routes = [RouteEntry { ... }, RouteEntry { ... }, RouteEntry { ... }, RouteEntry { ... }] }
Actual: RouteTable { Routes = [RouteEntry { ... }, RouteEntry { ... }, RouteEntry { ... }, RouteEntry { ... }] }
Stacktrace
Details
at Microsoft.AspNetCore.Components.Routing.RouteTableFactoryTests.CanCacheRouteTable() in /_/src/Components/Components/test/Routing/RouteTableFactoryTests.cs:line 24
Logs
None.
Build
Looks like it's a static class with static properties, that doesn't make for good testing since anything else in the process might also touch it and affect the test.
Metadata
Metadata
Assignees
Labels
area-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor Componentstest-failuretest-fixed