Skip to content

Commit

Permalink
adjust tests
Browse files Browse the repository at this point in the history
  • Loading branch information
edmarSoaress committed Feb 20, 2024
1 parent f700a24 commit 582fa52
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkg/merchantorder/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,9 @@ func TestSearch(t *testing.T) {
args: args{
ctx: context.Background(),
request: SearchRequest{
Limit: "1",
Offset: "1",
Limit: "1",
Offset: "1",
Filters: map[string]string{"preference": "134445566"},
},
},
want: buildSearchResponseMock(),
Expand All @@ -308,7 +309,7 @@ func TestSearch(t *testing.T) {
c := &client{
cfg: tt.fields.config,
}
got, err := c.Search(tt.args.ctx, SearchRequest{})
got, err := c.Search(tt.args.ctx, tt.args.request)
gotErr := ""
if err != nil {
gotErr = err.Error()
Expand Down

0 comments on commit 582fa52

Please sign in to comment.