Skip to content

Commit

Permalink
Update disputes_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelpaul committed Nov 6, 2023
1 parent b5de66d commit f7e2407
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions tests/disputes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,16 +136,4 @@ func Test_Disputes(t *testing.T) {
assert.NotNil(t, res)
assert.Equal(t, "Dispute not found.", res.DisputeServiceResult.GetErrorMessage())
})

t.Run("Download dispute defense document", func(t *testing.T) {
req := service.DownloadDisputeDefenseDocumentInput().DownloadDefenseDocumentRequest(disputes.DownloadDefenseDocumentRequest{
DefenseDocumentType: "DefenseMaterial",
DisputePspReference: pspReference,
MerchantAccountCode: merchantAccount,
})
_, httpRes, err := service.DownloadDisputeDefenseDocument(context.Background(), req)

require.NotNil(t, err)
assert.Equal(t, 403, httpRes.StatusCode)
})
}

0 comments on commit f7e2407

Please sign in to comment.