Remove ACLEnforceVersion8 from tests (#8138)

The field had been deprecated for a while and was recently removed,
however a PR which added these tests prior to removal was merged.
This commit is contained in:
Chris Piraino 2020-06-17 14:58:01 -05:00 committed by GitHub
parent 03cc81ba18
commit 79d003d395
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -265,7 +265,6 @@ func TestLeader_CheckServersMeta(t *testing.T) {
c.ACLsEnabled = true c.ACLsEnabled = true
c.ACLMasterToken = "root" c.ACLMasterToken = "root"
c.ACLDefaultPolicy = "allow" c.ACLDefaultPolicy = "allow"
c.ACLEnforceVersion8 = true
c.Bootstrap = true c.Bootstrap = true
}) })
defer os.RemoveAll(dir1) defer os.RemoveAll(dir1)
@ -276,7 +275,6 @@ func TestLeader_CheckServersMeta(t *testing.T) {
c.ACLsEnabled = true c.ACLsEnabled = true
c.ACLMasterToken = "root" c.ACLMasterToken = "root"
c.ACLDefaultPolicy = "allow" c.ACLDefaultPolicy = "allow"
c.ACLEnforceVersion8 = true
c.Bootstrap = false c.Bootstrap = false
}) })
defer os.RemoveAll(dir2) defer os.RemoveAll(dir2)
@ -287,7 +285,6 @@ func TestLeader_CheckServersMeta(t *testing.T) {
c.ACLsEnabled = true c.ACLsEnabled = true
c.ACLMasterToken = "root" c.ACLMasterToken = "root"
c.ACLDefaultPolicy = "allow" c.ACLDefaultPolicy = "allow"
c.ACLEnforceVersion8 = true
c.Bootstrap = false c.Bootstrap = false
}) })
defer os.RemoveAll(dir3) defer os.RemoveAll(dir3)