mirror of
https://github.com/juanfont/headscale.git
synced 2026-04-09 18:53:48 +02:00
integration: update DeleteAuthKey to use ID
This commit is contained in:
committed by
Kristoffer Dalby
parent
1325fd8b27
commit
db6882b5f5
@@ -530,7 +530,7 @@ func TestAuthKeyDeleteKey(t *testing.T) {
|
||||
// DELETE the pre-auth key using the API
|
||||
t.Logf("Deleting pre-auth key ID %d using API", authKeyID)
|
||||
|
||||
err = headscale.DeleteAuthKey(userID, authKeyString)
|
||||
err = headscale.DeleteAuthKey(authKeyID)
|
||||
require.NoError(t, err)
|
||||
t.Logf("Successfully deleted auth key")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user