From 9f6e546522d0e7d647db6cb1a3c8ba4cc8dc7890 Mon Sep 17 00:00:00 2001 From: Christian Heusel Date: Mon, 23 Jan 2023 13:55:30 +0100 Subject: [PATCH] modify the test to reflect the changes on the webinterface related to 2d44a1c99c17 Signed-off-by: Christian Heusel --- integration/auth_web_flow_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/auth_web_flow_test.go b/integration/auth_web_flow_test.go index 39412e8c..df253246 100644 --- a/integration/auth_web_flow_test.go +++ b/integration/auth_web_flow_test.go @@ -335,7 +335,7 @@ func (s *AuthWebFlowScenario) runHeadscaleRegister(userStr string, loginURL *url if headscale, err := s.Headscale(); err == nil { _, err = headscale.Execute( - []string{"headscale", "-n", userStr, "nodes", "register", "--key", key}, + []string{"headscale", "nodes", "register", "--user", userStr, "--key", key}, ) if err != nil { log.Printf("failed to register node: %s", err)