mirror of https://github.com/status-im/consul.git
Fixup api test
This commit is contained in:
parent
6c8ab1bbac
commit
20955742a7
|
@ -212,10 +212,11 @@ func TestAPI_Peering_GenerateToken_Read_Establish_Delete(t *testing.T) {
|
|||
require.NoError(t, err)
|
||||
require.NotNil(t, wm)
|
||||
|
||||
// Read to see if the token is "gone"
|
||||
// Read to see if the token is marked for deletion
|
||||
resp, qm, err := c.Peerings().Read(ctx, "peer1", nil)
|
||||
require.NoError(t, err)
|
||||
require.NotNil(t, qm)
|
||||
require.Nil(t, resp)
|
||||
require.NotNil(t, resp)
|
||||
require.False(t, resp.DeletedAt.IsZero())
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue