Fix tests broken by preauthkey tags
This commit is contained in:
parent
791272e408
commit
6faa1d2e4a
8 changed files with 45 additions and 33 deletions
|
@ -10,7 +10,7 @@ func (s *Suite) TestGetRoutes(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)
|
||||
|
||||
_, err = app.GetMachine("test", "test_get_route_machine")
|
||||
|
@ -54,7 +54,7 @@ func (s *Suite) TestGetEnableRoutes(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)
|
||||
|
||||
_, err = app.GetMachine("test", "test_enable_route_machine")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue