[Settings] Migrate Color Picker Settings Tests (#5759)

* added MSTest project

* migrated color picker settings

* undo changes for the .xaml page
This commit is contained in:
Nkateko
2020-08-13 15:46:51 -07:00
committed by GitHub
parent 23a9fa40e7
commit 0b5749d491
4 changed files with 77 additions and 11 deletions

View File

@@ -2,7 +2,7 @@
// The Microsoft Corporation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.PowerToys.Settings.UI.ViewModels;
using Microsoft.PowerToys.Settings.UI.Lib.ViewModels;
using Windows.UI.Xaml.Controls;
namespace Microsoft.PowerToys.Settings.UI.Views
@@ -13,7 +13,7 @@ namespace Microsoft.PowerToys.Settings.UI.Views
public ColorPickerPage()
{
ViewModel = new ColorPickerViewModel();
ViewModel = new ColorPickerViewModel(ShellPage.SendDefaultIPCMessage);
DataContext = ViewModel;
InitializeComponent();
}