mirror of
https://github.com/plutov/paypal.git
synced 2025-02-02 15:10:36 +01:00
Payments test fix
This commit is contained in:
parent
2771e6788b
commit
df39d89ab0
|
@ -41,8 +41,8 @@ func TestGetPayments(t *testing.T) {
|
|||
|
||||
payments, _ := c.GetPayments()
|
||||
|
||||
if len(payments) != 6 {
|
||||
t.Errorf("6 payments must be returned for GetPayments. Returned: " + strconv.Itoa(len(payments)))
|
||||
if len(payments) != 0 {
|
||||
t.Errorf("0 payments must be returned for GetPayments. Returned: " + strconv.Itoa(len(payments)))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user