diff --git a/nomad/acl_endpoint_test.go b/nomad/acl_endpoint_test.go index b13a19ddd..d9c4517c1 100644 --- a/nomad/acl_endpoint_test.go +++ b/nomad/acl_endpoint_test.go @@ -3147,6 +3147,7 @@ func TestACL_UpsertBindingRules(t *testing.T) { // Create another ACL binding rule that will fail validation. Attempting to // upsert this ensures the handler is triggering the validation function. aclBindingRule2 := mock.ACLBindingRule() + aclBindingRule2.ID = "" aclBindingRule2.BindType = "" aclBindingRuleReq5 := &structs.ACLBindingRulesUpsertRequest{