mirror of https://github.com/hashicorp/consul
separate test
parent
395984c444
commit
cc1246d8ba
|
@ -55,6 +55,12 @@ func TestClientForwardToServer(t *testing.T) {
|
||||||
expectedCode: 1,
|
expectedCode: 1,
|
||||||
expectedMsg: "failed getting authorizer: ACL not found",
|
expectedMsg: "failed getting authorizer: ACL not found",
|
||||||
},
|
},
|
||||||
|
},
|
||||||
|
aclEnabled: true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
description: "The apply request should be allowed if providing token when ACL is enabled",
|
||||||
|
operations: []operation{
|
||||||
{
|
{
|
||||||
action: applyResource,
|
action: applyResource,
|
||||||
includeToken: true,
|
includeToken: true,
|
||||||
|
|
Loading…
Reference in New Issue