diff --git a/machine_test.go b/machine_test.go index 25075bc2..275ab14e 100644 --- a/machine_test.go +++ b/machine_test.go @@ -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()