Skip to content

Commit 904dd33

Browse files
committed
PLTCONN-4903: Refactoring
1 parent 28b8a77 commit 904dd33

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

cmd/connector/conn_delete_test.go

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

99
"github.com/golang/mock/gomock"
10+
1011
"github.com/sailpoint-oss/sailpoint-cli/internal/mocks"
1112
)
1213

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

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

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)