mirror of
https://github.com/juanfont/headscale.git
synced 2025-11-25 17:50:49 +09:00
Make "authKey" a constant
This commit is contained in:
@@ -100,7 +100,7 @@ func (s *Suite) TestPortNamespace(c *check.C) {
|
||||
Name: "testmachine",
|
||||
NamespaceID: namespace.ID,
|
||||
Registered: true,
|
||||
RegisterMethod: "authKey",
|
||||
RegisterMethod: RegisterMethodAuthKey,
|
||||
IPAddress: ip.String(),
|
||||
AuthKeyID: uint(pak.ID),
|
||||
}
|
||||
@@ -142,7 +142,7 @@ func (s *Suite) TestPortGroup(c *check.C) {
|
||||
Name: "testmachine",
|
||||
NamespaceID: namespace.ID,
|
||||
Registered: true,
|
||||
RegisterMethod: "authKey",
|
||||
RegisterMethod: RegisterMethodAuthKey,
|
||||
IPAddress: ip.String(),
|
||||
AuthKeyID: uint(pak.ID),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user