summaryrefslogtreecommitdiff
path: root/src/burn/test/BurnUnitTest/PlanTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/burn/test/BurnUnitTest/PlanTest.cpp')
-rw-r--r--src/burn/test/BurnUnitTest/PlanTest.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/burn/test/BurnUnitTest/PlanTest.cpp b/src/burn/test/BurnUnitTest/PlanTest.cpp
index c7f2037d..ee3dcf3a 100644
--- a/src/burn/test/BurnUnitTest/PlanTest.cpp
+++ b/src/burn/test/BurnUnitTest/PlanTest.cpp
@@ -1144,9 +1144,12 @@ namespace Bootstrapper
1144 __in LPCWSTR wzVersion 1144 __in LPCWSTR wzVersion
1145 ) 1145 )
1146 { 1146 {
1147 HRESULT hr = StrAllocString(&pEngineState->registration.sczAncestors, wzId, 0); 1147 HRESULT hr = StrAllocString(&pEngineState->internalCommand.sczAncestors, wzId, 0);
1148 NativeAssert::Succeeded(hr, "Failed to set registration's ancestors"); 1148 NativeAssert::Succeeded(hr, "Failed to set registration's ancestors");
1149 1149
1150 hr = StrAllocFormatted(&pEngineState->registration.sczBundlePackageAncestors, L"%ls;%ls", wzId, pEngineState->registration.sczId);
1151 NativeAssert::Succeeded(hr, "Failed to set registration's package ancestors");
1152
1150 pEngineState->command.relationType = BOOTSTRAPPER_RELATION_UPGRADE; 1153 pEngineState->command.relationType = BOOTSTRAPPER_RELATION_UPGRADE;
1151 1154
1152 DetectPackagesAsPresentAndCached(pEngineState); 1155 DetectPackagesAsPresentAndCached(pEngineState);