From 8d72225d33b7236a39a4f43a3934c07577086b46 Mon Sep 17 00:00:00 2001 From: Chris Piraino Date: Wed, 17 Jun 2020 14:58:01 -0500 Subject: [PATCH] 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. --- agent/consul/leader_test.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/agent/consul/leader_test.go b/agent/consul/leader_test.go index db95c7b42b..508509868d 100644 --- a/agent/consul/leader_test.go +++ b/agent/consul/leader_test.go @@ -265,7 +265,6 @@ func TestLeader_CheckServersMeta(t *testing.T) { c.ACLsEnabled = true c.ACLMasterToken = "root" c.ACLDefaultPolicy = "allow" - c.ACLEnforceVersion8 = true c.Bootstrap = true }) defer os.RemoveAll(dir1) @@ -276,7 +275,6 @@ func TestLeader_CheckServersMeta(t *testing.T) { c.ACLsEnabled = true c.ACLMasterToken = "root" c.ACLDefaultPolicy = "allow" - c.ACLEnforceVersion8 = true c.Bootstrap = false }) defer os.RemoveAll(dir2) @@ -287,7 +285,6 @@ func TestLeader_CheckServersMeta(t *testing.T) { c.ACLsEnabled = true c.ACLMasterToken = "root" c.ACLDefaultPolicy = "allow" - c.ACLEnforceVersion8 = true c.Bootstrap = false }) defer os.RemoveAll(dir3)