Browse Source

Here we go again

CPK 4 years ago
parent
commit
54e054b31b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      PixiEditorTests/ViewModelsTests/ViewModelMainTests.cs

+ 1 - 1
PixiEditorTests/ViewModelsTests/ViewModelMainTests.cs

@@ -75,7 +75,7 @@ namespace PixiEditorTests.ViewModelsTests
 
             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());
         }