From 3adfc8c315804eeccc5082d88128b7b17328c529 Mon Sep 17 00:00:00 2001 From: tungquach Date: Sun, 21 Apr 2019 10:13:01 +0700 Subject: [PATCH] update order intergration test --- integration_test.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/integration_test.go b/integration_test.go index 688c438..f78254a 100644 --- a/integration_test.go +++ b/integration_test.go @@ -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) { c, _ := NewClient(testClientID, testSecret, APIBaseSandBox) c.GetAccessToken()