From 54e054b31becf26e97269bed68e4ce04eaa853bc Mon Sep 17 00:00:00 2001 From: CPK Date: Thu, 24 Dec 2020 15:16:08 +0100 Subject: [PATCH] Here we go again --- PixiEditorTests/ViewModelsTests/ViewModelMainTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PixiEditorTests/ViewModelsTests/ViewModelMainTests.cs b/PixiEditorTests/ViewModelsTests/ViewModelMainTests.cs index dbc17d33e..5e3724a44 100644 --- a/PixiEditorTests/ViewModelsTests/ViewModelMainTests.cs +++ b/PixiEditorTests/ViewModelsTests/ViewModelMainTests.cs @@ -75,7 +75,7 @@ public void TestThatSelectToolCommandSelectsNewTool() Assert.Equal(typeof(MoveTool), viewModel.BitmapManager.SelectedTool.GetType()); - viewModel.ToolsSubViewModel.SelectToolCommand.Execute(typeof(LineTool)); + viewModel.ToolsSubViewModel.SelectToolCommand.Execute(new LineTool()); Assert.Equal(typeof(LineTool), viewModel.BitmapManager.SelectedTool.GetType()); }