From 0d8bf9c62cd3d7f0195e4a8caaf86d32680511ed Mon Sep 17 00:00:00 2001 From: Matt Keeler Date: Fri, 9 Oct 2020 10:45:11 -0400 Subject: [PATCH] Remove oss/ent divergence of runtime_test.go (#8903) --- agent/config/runtime_oss_test.go | 2 ++ agent/config/runtime_test.go | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/agent/config/runtime_oss_test.go b/agent/config/runtime_oss_test.go index b6eee07e27..c7c21eb0a0 100644 --- a/agent/config/runtime_oss_test.go +++ b/agent/config/runtime_oss_test.go @@ -2,6 +2,8 @@ package config +var authMethodEntFields = `{}` + var entMetaJSON = `{}` var entRuntimeConfigSanitize = `{}` diff --git a/agent/config/runtime_test.go b/agent/config/runtime_test.go index 916066ae39..49407b565d 100644 --- a/agent/config/runtime_test.go +++ b/agent/config/runtime_test.go @@ -7637,11 +7637,11 @@ func TestSanitize(t *testing.T) { "Enabled": false, "AllowReuse": false, "AuthMethod": { - "ACLAuthMethodEnterpriseFields": {}, + "ACLAuthMethodEnterpriseFields": ` + authMethodEntFields + `, "Config": {}, "Description": "", "DisplayName": "", - "EnterpriseMeta": {}, + "EnterpriseMeta": ` + entMetaJSON + `, "MaxTokenTTL": "0s", "Name": "", "RaftIndex": {