aboutsummaryrefslogtreecommitdiff
path: root/src/burn
diff options
context:
space:
mode:
Diffstat (limited to 'src/burn')
-rw-r--r--src/burn/test/BurnUnitTest/RegistrationTest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/burn/test/BurnUnitTest/RegistrationTest.cpp b/src/burn/test/BurnUnitTest/RegistrationTest.cpp
index a8319bb2..b1c911f7 100644
--- a/src/burn/test/BurnUnitTest/RegistrationTest.cpp
+++ b/src/burn/test/BurnUnitTest/RegistrationTest.cpp
@@ -593,9 +593,10 @@ namespace Bootstrapper
593 Assert::Empty((System::Collections::IEnumerable ^)Registry::GetValue(gcnew String(TEST_VARIABLE_KEY), gcnew String(L"WixBundleForcedRestartPackage"), nullptr)); 593 Assert::Empty((System::Collections::IEnumerable ^)Registry::GetValue(gcnew String(TEST_VARIABLE_KEY), gcnew String(L"WixBundleForcedRestartPackage"), nullptr));
594 594
595 hr = StrAlloc(&sczRelatedBundleId, MAX_GUID_CHARS + 1); 595 hr = StrAlloc(&sczRelatedBundleId, MAX_GUID_CHARS + 1);
596 NativeAssert::Succeeded(hr, "Failed to allocate buffer for related bundle id.");
596 597
597 // Verify we can find ourself via the UpgradeCode 598 // Verify we can find ourself via the UpgradeCode
598 hr = BundleEnumRelatedBundle(TEST_BUNDLE_UPGRADE_CODE, BUNDLE_INSTALL_CONTEXT_USER, &dwRelatedBundleIndex, sczRelatedBundleId); 599 hr = BundleEnumRelatedBundleFixed(TEST_BUNDLE_UPGRADE_CODE, BUNDLE_INSTALL_CONTEXT_USER, &dwRelatedBundleIndex, sczRelatedBundleId);
599 TestThrowOnFailure(hr, L"Failed to enumerate related bundle."); 600 TestThrowOnFailure(hr, L"Failed to enumerate related bundle.");
600 601
601 NativeAssert::StringEqual(TEST_BUNDLE_ID, sczRelatedBundleId); 602 NativeAssert::StringEqual(TEST_BUNDLE_ID, sczRelatedBundleId);