mirror of
https://github.com/plutov/paypal.git
synced 2025-01-23 10:21:03 +01:00
update order intergration test
This commit is contained in:
parent
1f766901f9
commit
3adfc8c315
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user