Skip to content

Commit

Permalink
Revert "PLTCONN-4903: Refactoring"
Browse files Browse the repository at this point in the history
This reverts commit 904dd33.
  • Loading branch information
megan-tran-sp committed Mar 28, 2024
1 parent 12ec8fc commit 416a80c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions cmd/connector/conn_delete_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"testing"

"github.com/golang/mock/gomock"

"github.com/sailpoint-oss/sailpoint-cli/internal/mocks"
)

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

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

Expand Down
4 changes: 2 additions & 2 deletions internal/mocks/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 416a80c

Please sign in to comment.