update order intergration test

This commit is contained in:
tungquach 2019-04-21 10:13:01 +07:00
parent 1f766901f9
commit 3adfc8c315

View File

@ -128,16 +128,6 @@ func TestCaptureOrder(t *testing.T) {
} }
} }
func TestVoidOrder(t *testing.T) {
c, _ := NewClient(testClientID, testSecret, APIBaseSandBox)
c.GetAccessToken()
_, err := c.VoidOrder(testOrderID)
if err == nil {
t.Errorf("Order is expired, 400 error must be returned")
}
}
func TestCreateSinglePayout(t *testing.T) { func TestCreateSinglePayout(t *testing.T) {
c, _ := NewClient(testClientID, testSecret, APIBaseSandBox) c, _ := NewClient(testClientID, testSecret, APIBaseSandBox)
c.GetAccessToken() c.GetAccessToken()