1
0
mirror of https://github.com/juanfont/headscale.git synced 2024-10-17 20:05:55 +02:00

fix autoapprover test following tagged authkey change

This commit is contained in:
Benjamin George Roberts 2022-09-23 18:46:35 +10:00
parent 6d2cfd52c5
commit 7761a7b23e

View File

@ -1058,7 +1058,7 @@ func (s *Suite) TestAutoApproveRoutes(c *check.C) {
namespace, err := app.CreateNamespace("test")
c.Assert(err, check.IsNil)
pak, err := app.CreatePreAuthKey(namespace.Name, false, false, nil)
pak, err := app.CreatePreAuthKey(namespace.Name, false, false, nil, nil)
c.Assert(err, check.IsNil)
nodeKey := key.NewNode()