Remove oss/ent divergence of runtime_test.go (#8903)
This commit is contained in:
parent
891d05fada
commit
44017f819e
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
package config
|
package config
|
||||||
|
|
||||||
|
var authMethodEntFields = `{}`
|
||||||
|
|
||||||
var entMetaJSON = `{}`
|
var entMetaJSON = `{}`
|
||||||
|
|
||||||
var entRuntimeConfigSanitize = `{}`
|
var entRuntimeConfigSanitize = `{}`
|
||||||
|
|
|
@ -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": {
|
||||||
|
|
Loading…
Reference in New Issue