test/fixtures.rb in pagarme-2.2.0 vs test/fixtures.rb in pagarme-2.2.1
- old
+ new
@@ -1,5 +1,6 @@
+# coding: utf-8
class Fixtures
def transaction
{ amount: 1000 }
end
@@ -45,9 +46,13 @@
split_rule(persistent_recipient_ids[3], 40)
]
}
end
+ def invalid_card_number
+ card.merge card_number: '4043405'
+ end
+
def refused_card
# In test environment CVV's that starts with digit 6 are refused by acquirer
card.merge card_cvv: '600'
end