Use dependency injection to get BankPaymentProvider

Authored by Ejegg on Thu, Feb 16, 10:53 PM.

Description

Use dependency injection to get BankPaymentProvider

This way we don't need to mock the low-level cURL response.
Unfortunately, we need to write a substitute class. Would it really
be so bad to use SmashPig's Configuration::object in DonationInterface
code?

Bug: T128692
Change-Id: I3b35350bf944207786e8bded33d04caf1f287dbf

Details

Committed
EjeggThu, Feb 16, 10:55 PM
Parents
rEDOI02c76ee89d62: Look up iDEAL banks, provide PSR6 to SmashPig
Branches
Unknown
Tags
Unknown
References
refs/changes/77/338277/1
ChangeId
I3b35350bf944207786e8bded33d04caf1f287dbf