diff --git a/test/test_common/test_runtime.h b/test/test_common/test_runtime.h index 7fba4e4d9c4e..0d109256cf56 100644 --- a/test/test_common/test_runtime.h +++ b/test/test_common/test_runtime.h @@ -25,7 +25,7 @@ namespace Envoy { // TODO(alyssawilk) move existing runtime tests over to using this. class TestScopedRuntime { public: - TestScopedRuntime() { + TestScopedRuntime() : api_(Api::createApiForTest()) { envoy::config::bootstrap::v2::LayeredRuntime config; config.add_layers()->mutable_admin_layer();