Remove duplicate calls to some functions

main
amzn-sj 5 years ago
parent 471d9afe82
commit 1a1874b3bc

@ -152,11 +152,10 @@ struct AssetValidationTest
{ {
AZ::SettingsRegistry::Register(&m_registry); AZ::SettingsRegistry::Register(&m_registry);
AZ::SettingsRegistry::Register(&m_registry);
auto projectPathKey = AZ::SettingsRegistryInterface::FixedValueString(AZ::SettingsRegistryMergeUtils::BootstrapSettingsRootKey) auto projectPathKey = AZ::SettingsRegistryInterface::FixedValueString(AZ::SettingsRegistryMergeUtils::BootstrapSettingsRootKey)
+ "/project_path"; + "/project_path";
m_registry.Set(projectPathKey, "AutomatedTesting"); m_registry.Set(projectPathKey, "AutomatedTesting");
AZ::SettingsRegistryMergeUtils::MergeSettingsToRegistry_AddRuntimeFilePaths(m_registry);
// Set the engine root to the temporary directory and re-update the runtime file paths // Set the engine root to the temporary directory and re-update the runtime file paths
auto enginePathKey = AZ::SettingsRegistryInterface::FixedValueString(AZ::SettingsRegistryMergeUtils::BootstrapSettingsRootKey) auto enginePathKey = AZ::SettingsRegistryInterface::FixedValueString(AZ::SettingsRegistryMergeUtils::BootstrapSettingsRootKey)
+ "/engine_path"; + "/engine_path";

Loading…
Cancel
Save