From 79e2f60603f1520bb3f534292f4786ab1f25b146 Mon Sep 17 00:00:00 2001 From: Spencer Brower Date: Fri, 17 Apr 2020 22:26:10 -0400 Subject: [PATCH] fix: Fixed broken test. Signed-off-by: Spencer Brower --- plugin/external/pluginEntry_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/external/pluginEntry_test.go b/plugin/external/pluginEntry_test.go index 0828aff48..3089a4bf6 100644 --- a/plugin/external/pluginEntry_test.go +++ b/plugin/external/pluginEntry_test.go @@ -954,7 +954,7 @@ func (suite *ExternalPluginEntryTestSuite) TestExec() { ctx := context.Background() mockRunAndWait := func(cmd []string, startErr, waitErr error, exitCode int) { mockInv := &mockedInvocation{Command: NewCommand(ctx, "")} - args := []interface{}{ctx, "exec", entry, append([]string{`{"tty":false,"elevate":false,"stdin":false}`}, cmd...)} + args := []interface{}{ctx, "exec", entry, append([]string{`{"tty":false,"elevate":false,"WorkingDir":"","stdin":false}`}, cmd...)} mockScript.On("NewInvocation", args...).Return(mockInv).Once() mockInv.MockExec(startErr, waitErr, exitCode) }