diff --git a/MangoPaySDK/entities/card.inc b/MangoPaySDK/entities/card.inc index 81c9a193..272b7e11 100644 --- a/MangoPaySDK/entities/card.inc +++ b/MangoPaySDK/entities/card.inc @@ -53,10 +53,4 @@ class Card extends EntityBase { * @var string */ public $Validity; - - /** - * Reusable - * @var bool - */ - public $Reusable; } \ No newline at end of file diff --git a/MangoPaySDK/entities/cardRegistration.inc b/MangoPaySDK/entities/cardRegistration.inc index 071204e0..e72d201b 100644 --- a/MangoPaySDK/entities/cardRegistration.inc +++ b/MangoPaySDK/entities/cardRegistration.inc @@ -60,12 +60,6 @@ class CardRegistration extends EntityBase { */ public $Status; - /** - * Reusable - * @var bool - */ - public $Reusable; - /** * Get array with read-only properties * @return array diff --git a/MangoPaySDK/types/configuration.inc b/MangoPaySDK/types/configuration.inc index b2f290f9..2a788f79 100644 --- a/MangoPaySDK/types/configuration.inc +++ b/MangoPaySDK/types/configuration.inc @@ -22,7 +22,7 @@ class Configuration { * Base URL to MangoPay API * @var string */ - public $BaseUrl = 'https://mangopay-api-inte.leetchi.com'; + public $BaseUrl = 'https://api-preprod.mangopay.com'; /** * Path to folder with temporary files (with permissions to write) diff --git a/tests/cases/index.php b/tests/cases/index.php new file mode 100644 index 00000000..a2ef70eb --- /dev/null +++ b/tests/cases/index.php @@ -0,0 +1,11 @@ +
  • [ALL]
  • +$entry"; + } + closedir($handle); +} diff --git a/tests/cases/payOuts.php b/tests/cases/payOuts.php index a0ef7d3d..905ee45c 100644 --- a/tests/cases/payOuts.php +++ b/tests/cases/payOuts.php @@ -18,7 +18,6 @@ function test_PayOuts_Create_BankWire_FailsCauseNotEnoughMoney() { $this->fail('Should throw ResponseException'); } catch (\MangoPay\ResponseException $ex) { $this->assertIdentical($ex->getCode(), 400); - $this->assertTrue(strpos($ex->getMessage(), 'The amount you wish to spend must be smaller than the amount left in your collection') !== false); } catch (\Exception $ex) { $this->fail('Should throw ResponseException'); } diff --git a/tests/suites/all.php b/tests/suites/all.php index f30e171a..fb4ea15f 100644 --- a/tests/suites/all.php +++ b/tests/suites/all.php @@ -20,7 +20,7 @@ class TestCasesCollector extends \SimpleCollector { protected function isHidden($filename) { // ignore base.php: with abstract test case class (throws Bad TestSuite [No runnable test cases] otherwise) - if ($filename == "base.php") + if ($filename == "base.php" || $filename == "index.php") return true; return parent::isHidden($filename);