Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
deryacakmak committed Jul 3, 2024
1 parent ad1b9a6 commit 5fcdf9b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/bkm_express_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,11 @@ func TestBkm_Express_Complete(t *testing.T) {
}

func TestBkm_Express_RetrievePayment(t *testing.T) {
err := bkmExpressClient.BkmExpress.RetrievePayment(context.Background(), "dcfdc163-0545-46d7-8f86-5a11718e56ec")
ticketId := "dcfdc163-0545-46d7-8f86-5a11718e56ec"
res, err := bkmExpressClient.BkmExpress.RetrievePayment(context.Background(), ticketId)

require.NotNil(t, res.AuthCode)
if err != nil {
t.Fatalf("RetrievePayment failed: %v", err)
t.Errorf("Error %s", err)
}
}

0 comments on commit 5fcdf9b

Please sign in to comment.