mirror of https://github.com/slackhq/nebula.git
Fix test on master (#860)
This commit is contained in:
parent
e0185c4b01
commit
b26c13336f
|
@ -281,7 +281,7 @@ func TestNebulaCertificate_VerifyP256(t *testing.T) {
|
||||||
|
|
||||||
v, err := c.Verify(time.Now(), caPool)
|
v, err := c.Verify(time.Now(), caPool)
|
||||||
assert.False(t, v)
|
assert.False(t, v)
|
||||||
assert.EqualError(t, err, "certificate has been blocked")
|
assert.EqualError(t, err, "certificate is in the block list")
|
||||||
|
|
||||||
caPool.ResetCertBlocklist()
|
caPool.ResetCertBlocklist()
|
||||||
v, err = c.Verify(time.Now(), caPool)
|
v, err = c.Verify(time.Now(), caPool)
|
||||||
|
|
Loading…
Reference in New Issue