Remove oss/ent divergence of runtime_test.go (#8903)

This commit is contained in:
Matt Keeler 2020-10-09 10:45:11 -04:00 committed by GitHub
parent 891d05fada
commit 44017f819e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -2,6 +2,8 @@
package config package config
var authMethodEntFields = `{}`
var entMetaJSON = `{}` var entMetaJSON = `{}`
var entRuntimeConfigSanitize = `{}` var entRuntimeConfigSanitize = `{}`

View File

@ -7637,11 +7637,11 @@ func TestSanitize(t *testing.T) {
"Enabled": false, "Enabled": false,
"AllowReuse": false, "AllowReuse": false,
"AuthMethod": { "AuthMethod": {
"ACLAuthMethodEnterpriseFields": {}, "ACLAuthMethodEnterpriseFields": ` + authMethodEntFields + `,
"Config": {}, "Config": {},
"Description": "", "Description": "",
"DisplayName": "", "DisplayName": "",
"EnterpriseMeta": {}, "EnterpriseMeta": ` + entMetaJSON + `,
"MaxTokenTTL": "0s", "MaxTokenTTL": "0s",
"Name": "", "Name": "",
"RaftIndex": { "RaftIndex": {