diff --git a/tests/Avalonia.Benchmarks/Styling/ResourceBenchmarks.cs b/tests/Avalonia.Benchmarks/Styling/ResourceBenchmarks.cs index ebd8a6474a..c0ec3f0687 100644 --- a/tests/Avalonia.Benchmarks/Styling/ResourceBenchmarks.cs +++ b/tests/Avalonia.Benchmarks/Styling/ResourceBenchmarks.cs @@ -20,7 +20,7 @@ namespace Avalonia.Benchmarks.Styling var services = new TestServices( assetLoader: new StandardAssetLoader(), globalClock: new MockGlobalClock(), - platform: new AppBuilder().RuntimePlatform, + platform: new StandardRuntimePlatform(), standardCursorFactory: Mock.Of(), theme: () => CreateTheme(), windowingPlatform: new MockWindowingPlatform());