Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
no message
- Loading branch information
1 parent
3c8ee82
commit 34b86aa
Showing
2 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,19 @@ | ||
<?php | ||
namespace Dfe\Stripe\T\CaseT; | ||
use Stripe\CountrySpec as lCountrySpec; | ||
// 2017-10-19 | ||
// https://github.com/stripe/stripe-php/blob/v5.3.0/tests/CountrySpecTest.php | ||
// «Stripe API Reference» → «Country Specs»: https://stripe.com/docs/api#country_specs | ||
final class CountrySpec extends \Dfe\Stripe\T\CaseT { | ||
/** @test 2017-10-19 */ | ||
function t00() {} | ||
|
||
/** | ||
* @test 2017-10-19 | ||
* https://stripe.com/docs/api#country_spec_object-supported_payment_methods | ||
*/ | ||
function t01() { | ||
echo df_json_encode(lCountrySpec::retrieve('US')['supported_payment_methods']); | ||
echo df_json_encode(lCountrySpec::retrieve('NL')['supported_payment_methods']); | ||
} | ||
} |