Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Feat: CLI Integration tests

Daniel Hougaardd31d98b5e083
diff --git a/cli/packages/cmd/login.go b/cli/packages/cmd/login.go
index bbb2c3a057..a6401e3d0c 100644
--- a/cli/packages/cmd/login.go
+++ b/cli/packages/cmd/login.go
@@ -191,6 +191,10 @@ var loginCmd = &cobra.Command{
util.HandleError(err)
}
+ if util.IS_TEST_MODE {
+ util.HandleSendUniversalAuthToken(cmd, res.AccessToken)
+ return
+ }
if plainOutput {
fmt.Println(res.AccessToken)
return