Skip to content

Commit

Permalink
2.7.5
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Jan 31, 2020
1 parent bf786e1 commit dab8007
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 16 deletions.
11 changes: 0 additions & 11 deletions T/t.xml

This file was deleted.

4 changes: 2 additions & 2 deletions T/CaseT.php → Test/CaseT.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php
namespace Dfe\Stripe\T;
namespace Dfe\Stripe\Test;
/**
* 2017-10-19
* @see \Dfe\Stripe\T\CaseT\CountrySpec
* @see \Dfe\Stripe\Test\CaseT\CountrySpec
* @method \Dfe\Stripe\Method m()
*/
abstract class CaseT extends \Df\Payment\TestCase {
Expand Down
4 changes: 2 additions & 2 deletions T/CaseT/CountrySpec.php → Test/CaseT/CountrySpec.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php
namespace Dfe\Stripe\T\CaseT;
namespace Dfe\Stripe\Test\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 {
final class CountrySpec extends \Dfe\Stripe\Test\CaseT {
/** @test 2017-10-19 */
function t00() {}

Expand Down
12 changes: 12 additions & 0 deletions Test/t.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version='1.0' encoding='utf-8' ?>
<phpunit
bootstrap='../../../../dev/tests/unit/framework/bootstrap.php'
convertErrorsToExceptions='false'
convertNoticesToExceptions='false'
convertWarningsToExceptions='false'
>
<!-- 2020-01-31
We are forced use the `Test` namespace instead of `T` to be compatible with Magento Cloud:
https://github.com/mage2pro/core/issues/89#issuecomment-580592826 -->
<testsuite name='Stripe'><directory suffix='.php'>.</directory></testsuite>
</phpunit>
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mage2pro/stripe"
,"version": "2.7.4"
,"version": "2.7.5"
,"description": "Stripe integration with Magento 2"
,"type": "magento2-module"
,"homepage": "https://mage2.pro/c/stripe"
Expand Down

0 comments on commit dab8007

Please sign in to comment.