Fix api/agent test
This commit is contained in:
parent
53465764df
commit
da96c645b2
|
@ -1642,7 +1642,7 @@ func TestAPI_AgentConnectAuthorize(t *testing.T) {
|
||||||
auth, err := agent.ConnectAuthorize(params)
|
auth, err := agent.ConnectAuthorize(params)
|
||||||
require.Nil(err)
|
require.Nil(err)
|
||||||
require.True(auth.Authorized)
|
require.True(auth.Authorized)
|
||||||
require.Equal(auth.Reason, "ACLs disabled, access is allowed by default")
|
require.Equal(auth.Reason, "Default behavior configured by ACLs")
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestAPI_AgentHealthService(t *testing.T) {
|
func TestAPI_AgentHealthService(t *testing.T) {
|
||||||
|
|
Loading…
Reference in New Issue