From bf58cd5640b1edb0748252c833d6dfe197f935a7 Mon Sep 17 00:00:00 2001 From: mdrakos Date: Thu, 21 Nov 2024 09:31:17 -0800 Subject: [PATCH] Use correct state tool --- test/integration/notification_int_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/notification_int_test.go b/test/integration/notification_int_test.go index 7dc288984e..4e9f2f8f4c 100644 --- a/test/integration/notification_int_test.go +++ b/test/integration/notification_int_test.go @@ -241,7 +241,7 @@ func (suite *NotificationIntegrationTestSuite) TestNotification_Basic_InterruptP cp.ExpectExitCode(0) // Test that non-interactive does not prompt - cp = ts.SpawnCmdWithOpts("state", e2e.OptArgs("--version", "-n"), e2e.OptAppendEnv(constants.NotificationsOverrideEnvVarName+"="+msgFile)) + cp = ts.SpawnWithOpts(e2e.OptArgs("--version", "-n"), e2e.OptAppendEnv(constants.NotificationsOverrideEnvVarName+"="+msgFile)) cp.Expect(`This is a simple notification`) cp.Expect("ActiveState CLI by ActiveState Software Inc.") cp.ExpectExitCode(0)