@@ -21,6 +21,7 @@ using namespace AppInstaller::Repository::Microsoft;
21
21
using namespace AppInstaller ::SQLite;
22
22
using namespace AppInstaller ::Repository::Microsoft::Schema;
23
23
using namespace AppInstaller ::Utility;
24
+ using namespace AppInstaller ::CLI::Workflow;
24
25
using namespace TestCommon ;
25
26
26
27
TEST_CASE (" PortableInstaller_InstallToRegistry" , " [PortableInstaller]" )
@@ -44,7 +45,7 @@ TEST_CASE("PortableInstaller_InstallToRegistry", "[PortableInstaller]")
44
45
portableInstaller.SetDesiredState (desiredTestState);
45
46
REQUIRE (portableInstaller.VerifyExpectedState ());
46
47
47
- portableInstaller.Install ();
48
+ portableInstaller.Install (AppInstaller::CLI::Workflow::OperationType::Install );
48
49
49
50
PortableInstaller portableInstaller2 = PortableInstaller (ScopeEnum::User, Architecture::X64, " testProductCode" );
50
51
REQUIRE (portableInstaller2.ARPEntryExists ());
@@ -92,7 +93,7 @@ TEST_CASE("PortableInstaller_InstallToIndex_CreateInstallRoot", "[PortableInstal
92
93
portableInstaller.SetDesiredState (desiredTestState);
93
94
REQUIRE (portableInstaller.VerifyExpectedState ());
94
95
95
- portableInstaller.Install ();
96
+ portableInstaller.Install (AppInstaller::CLI::Workflow::OperationType::Install );
96
97
97
98
REQUIRE (std::filesystem::exists (installRootPath / portableInstaller.GetPortableIndexFileName ()));
98
99
REQUIRE (std::filesystem::exists (targetPath));
@@ -150,7 +151,7 @@ TEST_CASE("PortableInstaller_InstallToIndex_ExistingInstallRoot", "[PortableInst
150
151
portableInstaller.SetDesiredState (desiredTestState);
151
152
REQUIRE (portableInstaller.VerifyExpectedState ());
152
153
153
- portableInstaller.Install ();
154
+ portableInstaller.Install (AppInstaller::CLI::Workflow::OperationType::Install );
154
155
155
156
REQUIRE (std::filesystem::exists (installRootPath / portableInstaller.GetPortableIndexFileName ()));
156
157
REQUIRE (std::filesystem::exists (targetPath));
@@ -197,7 +198,7 @@ TEST_CASE("PortableInstaller_UnicodeSymlinkPath", "[PortableInstaller]")
197
198
portableInstaller.SetDesiredState (desiredTestState);
198
199
REQUIRE (portableInstaller.VerifyExpectedState ());
199
200
200
- portableInstaller.Install ();
201
+ portableInstaller.Install (AppInstaller::CLI::Workflow::OperationType::Install );
201
202
202
203
PortableInstaller portableInstaller2 = PortableInstaller (ScopeEnum::User, Architecture::X64, " testProductCode" );
203
204
REQUIRE (portableInstaller2.ARPEntryExists ());
0 commit comments