primeradiant/stripe-perl — pull request #5 by leto (2012-05-30 07:02:11+00:00)
Title: Make the test suite pass

When get_customer is called on a deleted customer, an unblessed hash is
returned instead of an object, which caused one test to fail.
This patch doesn't seem great from an API standpoint, but it gets the
test suite passing.

The other tests were removed because of the following error:

Error: invalid_request_error - You cannot update an invoice item's currency On parameter: currency
at .../lib/Net/Stripe.pm line 452
Net::Stripe::_make_request('Net::Stripe=HASH(0x2baabd8)', 'HTTP::Request=HASH(0x3134690)') called at /home/leto/git/stripe-perl/lib/Net/Stripe.pm line 423
Net::Stripe::_post('Net::Stripe=HASH(0x2baabd8)', 'invoiceitems/ii_y2FjyimDIrOL02', 'Net::Stripe::Invoiceitem=HASH(0x2cb5a90)') called at /home/leto/git/stripe-perl/lib/Net/Stripe.pm line 355
Net::Stripe::post_invoiceitem('Net::Stripe=HASH(0x2baabd8)', 'Net::Stripe::Invoiceitem=HASH(0x2cb5a90)') called at t/live.t line 394