From d29b23b53c54dcc8b22407ca3fde6efea2ea3d06 Mon Sep 17 00:00:00 2001 From: Jeremy Wu Date: Fri, 12 Jun 2020 21:19:55 +1000 Subject: [PATCH] fix failing test due to Windows Search service not running --- Flow.Launcher.Test/Plugins/ExplorerTest.cs | 4 ++++ appveyor.yml | 1 + 2 files changed, 5 insertions(+) diff --git a/Flow.Launcher.Test/Plugins/ExplorerTest.cs b/Flow.Launcher.Test/Plugins/ExplorerTest.cs index f153c222a..0a1dece4f 100644 --- a/Flow.Launcher.Test/Plugins/ExplorerTest.cs +++ b/Flow.Launcher.Test/Plugins/ExplorerTest.cs @@ -10,6 +10,10 @@ using System.Collections.Generic; namespace Flow.Launcher.Test.Plugins { + /// + /// These tests require the use of CSearchManager class from Microsoft.Search.Interop. + /// Windows Search service needs to be running to complete the tests + /// [TestFixture] public class ExplorerTest { diff --git a/appveyor.yml b/appveyor.yml index e476bd3b1..21853f314 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -4,6 +4,7 @@ init: - ps: | $version = new-object System.Version $env:APPVEYOR_BUILD_VERSION $env:flowVersion = "{0}.{1}.{2}" -f $version.Major, $version.Minor, $version.Build +- sc config WSearch start= auto # Starts Windows Search service- Needed for running ExplorerTest assembly_info: patch: true