Skip to content
This repository has been archived by the owner on Jun 2, 2022. It is now read-only.

Commit

Permalink
fix: Fixed broken test.
Browse files Browse the repository at this point in the history
Signed-off-by: Spencer Brower <[email protected]>
  • Loading branch information
Spencer Brower committed Apr 18, 2020
1 parent ebe4432 commit 79e2f60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/external/pluginEntry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 79e2f60

Please sign in to comment.