aboutsummaryrefslogtreecommitdiff
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.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/burn/test/BurnUnitTest/PlanTest.cpp b/src/burn/test/BurnUnitTest/PlanTest.cpp
index 2e3b1092..c7f2037d 100644
--- a/src/burn/test/BurnUnitTest/PlanTest.cpp
+++ b/src/burn/test/BurnUnitTest/PlanTest.cpp
@@ -959,15 +959,9 @@ namespace Bootstrapper
959 959
960 void PlanTestDetect(BURN_ENGINE_STATE* pEngineState) 960 void PlanTestDetect(BURN_ENGINE_STATE* pEngineState)
961 { 961 {
962 HRESULT hr = S_OK; 962 DetectReset(&pEngineState->registration, &pEngineState->packages);
963 BURN_REGISTRATION* pRegistration = &pEngineState->registration;
964
965 DetectReset(pRegistration, &pEngineState->packages);
966 PlanReset(&pEngineState->plan, &pEngineState->containers, &pEngineState->packages, &pEngineState->layoutPayloads); 963 PlanReset(&pEngineState->plan, &pEngineState->containers, &pEngineState->packages, &pEngineState->layoutPayloads);
967 964
968 hr = DepDependencyArrayAlloc(&pRegistration->rgIgnoredDependencies, &pRegistration->cIgnoredDependencies, pRegistration->sczProviderKey, NULL);
969 NativeAssert::Succeeded(hr, "Failed to add the bundle provider key to the list of dependencies to ignore.");
970
971 pEngineState->userExperience.fEngineActive = TRUE; 965 pEngineState->userExperience.fEngineActive = TRUE;
972 pEngineState->fDetected = TRUE; 966 pEngineState->fDetected = TRUE;
973 } 967 }