Payments test fix

This commit is contained in:
Aliaksandr Pliutau 2016-07-21 10:51:44 +07:00
parent 2771e6788b
commit df39d89ab0

View File

@ -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)))
}
}