Try fix test.

This commit is contained in:
Nikolai Kochetov 2020-04-17 23:56:38 +03:00
parent 5d5e5ed040
commit e970203ab2
2 changed files with 2 additions and 1 deletions

View File

@ -148,7 +148,7 @@ try
return Application::EXIT_OK;
}
SharedContextHolder shared_context = Context::createShared();
shared_context = Context::createShared();
context = std::make_unique<Context>(Context::createGlobal(shared_context.get()));
context->makeGlobalContext();
context->setApplicationType(Context::ApplicationType::LOCAL);

View File

@ -41,6 +41,7 @@ private:
void setupUsers();
protected:
SharedContextHolder shared_context;
std::unique_ptr<Context> context;
/// Settings specified via command line args