|
@@ -101,7 +101,6 @@ namespace UnitTests
|
|
|
|
|
|
// Set up the Job Context, required for the PathDependencyManager to do its work
|
|
|
// Set up serialize and json context
|
|
|
- // Set up serialize and json context
|
|
|
m_serializeContext = AZStd::make_unique<AZ::SerializeContext>();
|
|
|
m_jsonRegistrationContext = AZStd::make_unique<AZ::JsonRegistrationContext>();
|
|
|
m_componentApplication = AZStd::make_unique<testing::NiceMock<MockComponentApplication>>();
|
|
@@ -182,13 +181,6 @@ namespace UnitTests
|
|
|
m_jsonRegistrationContext.reset();
|
|
|
m_serializeContext.reset();
|
|
|
|
|
|
- m_jsonRegistrationContext->EnableRemoveReflection();
|
|
|
- AZ::JsonSystemComponent::Reflect(m_jsonRegistrationContext.get());
|
|
|
- m_jsonRegistrationContext->DisableRemoveReflection();
|
|
|
-
|
|
|
- m_jsonRegistrationContext.reset();
|
|
|
- m_serializeContext.reset();
|
|
|
-
|
|
|
if (m_localFileIo)
|
|
|
{
|
|
|
delete m_localFileIo;
|