Reword errSingleUseAuthKeyHasBeenUsed

This commit is contained in:
Juan Font Alonso 2021-10-13 23:23:07 +02:00
parent dd1e425d02
commit 9a6ac6e3e6
2 changed files with 3 additions and 3 deletions

View file

@ -87,7 +87,7 @@ func (*Suite) TestAlreadyUsedKey(c *check.C) {
h.db.Save(&m)
p, err := h.checkKeyValidity(pak.Key)
c.Assert(err, check.Equals, errorAuthKeyNotReusableAlreadyUsed)
c.Assert(err, check.Equals, errSingleUseAuthKeyHasBeenUsed)
c.Assert(p, check.IsNil)
}