diff --git a/paysource_test.go b/paysource_test.go index d3a0dc3..261090e 100644 --- a/paysource_test.go +++ b/paysource_test.go @@ -12,6 +12,7 @@ func TestPaymentType(t *testing.T) { is.Equal("credit_card", midtrans.SourceCreditCard) is.Equal("bank_transfer", midtrans.SourceBankTransfer) is.Equal("cimb_clicks", midtrans.SourceCimbClicks) + is.Equal("danamon_online", midtrans.SourceDanamonOnline) is.Equal("mandiri_clickpay", midtrans.SourceMandiriClickpay) is.Equal("bri_epay", midtrans.SourceBriEpay) is.Equal("telkomsel_cash", midtrans.SourceTelkomselCash) @@ -19,4 +20,5 @@ func TestPaymentType(t *testing.T) { is.Equal("cstore", midtrans.SourceConvStore) is.Equal("bca_klikbca", midtrans.SourceKlikBca) is.Equal("bca_klikpay", midtrans.SourceBcaKlikpay) + is.Equal("gopay", midtrans.SourceGopay) }