mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-26 22:25:52 -05:00
fix(namespaces_test): fix missing namespace name
This commit is contained in:
parent
fcdbe7c510
commit
cef0a2b0b3
@ -83,7 +83,7 @@ func (s *Suite) TestRenameNamespace(c *check.C) {
|
|||||||
_, err = app.GetNamespace("test-renamed")
|
_, err = app.GetNamespace("test-renamed")
|
||||||
c.Assert(err, check.IsNil)
|
c.Assert(err, check.IsNil)
|
||||||
|
|
||||||
err = app.RenameNamespace("test_does_not_exit", "test")
|
err = app.RenameNamespace("test-does-not-exit", "test")
|
||||||
c.Assert(err, check.Equals, errNamespaceNotFound)
|
c.Assert(err, check.Equals, errNamespaceNotFound)
|
||||||
|
|
||||||
namespaceTest2, err := app.CreateNamespace("test2")
|
namespaceTest2, err := app.CreateNamespace("test2")
|
||||||
|
Loading…
Reference in New Issue
Block a user