Skip to content

Commit 416a80c

Browse files
committed
Revert "PLTCONN-4903: Refactoring"
This reverts commit 904dd33.
1 parent 12ec8fc commit 416a80c

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

cmd/connector/conn_delete_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import (
77
"testing"
88

99
"github.com/golang/mock/gomock"
10-
1110
"github.com/sailpoint-oss/sailpoint-cli/internal/mocks"
1211
)
1312

@@ -16,7 +15,7 @@ func TestDeleteConnCmd(t *testing.T) {
1615
defer ctrl.Finish()
1716

1817
client := mocks.NewMockClient(ctrl)
19-
client.EXPECT().Delete(gomock.Any(), "/beta/platform-connectors/test-connector").
18+
client.EXPECT().Delete(gomock.Any(), "/beta/platform-connectors/test-connector", gomock.Any()).
2019
Return(&http.Response{StatusCode: http.StatusNoContent, Body: io.NopCloser(bytes.NewReader([]byte("{}")))}, nil).
2120
Times(1)
2221

internal/mocks/client.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)