diff --git a/integration_test.go b/integration_test.go
index 53092423..a1a5e953 100644
--- a/integration_test.go
+++ b/integration_test.go
@@ -493,7 +493,7 @@ func (s *IntegrationTestSuite) TestSharedNodes() {
 
 		result, err := executeCommand(
 			&headscale,
-			[]string{"headscale", "nodes", "share", "--namespace", "shared", fmt.Sprint(machine.ID), "main"},
+			[]string{"headscale", "nodes", "share", fmt.Sprint(machine.ID), "main"},
 			[]string{},
 		)
 		assert.Nil(s.T(), err)