From 49fa52cd9ddda0df07d6bf3ba57c94598a5db5d2 Mon Sep 17 00:00:00 2001 From: Oleg Iskusnyh Date: Sat, 11 Mar 2023 13:31:28 +0600 Subject: [PATCH] Bump v5.5.0 --- Changelog.txt | 4 ++++ composer.json | 2 +- .../Functional/SwedbankPayTest/Test/MobilePayPaymentTest.php | 4 +++- tests/acceptance/MobilepayCept.php | 3 +++ 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/Changelog.txt b/Changelog.txt index b95933e..c36357b 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -1,4 +1,8 @@ Changelog +5.5.0 - 2023-03-11 +Added +- Add UnscheduledPurchase for Paymentorder + 5.4.1 - 2022-10-15 Fixed - Fix deprecated warning in PHP 8 diff --git a/composer.json b/composer.json index 7c56acb..8297fdc 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "swedbank-pay/swedbank-pay-sdk-php", "type": "library", "description": "The Swedbank Pay SDK for PHP simplifies integrations against Swedbank Pay's API Platform by providing native PHP interface towards the REST API.", - "version": "5.4.1", + "version": "5.5.0", "authors": [ { "name": "Sammy Nordstr\u00f6m", diff --git a/tests/Functional/SwedbankPayTest/Test/MobilePayPaymentTest.php b/tests/Functional/SwedbankPayTest/Test/MobilePayPaymentTest.php index 2fdc299..0ddb644 100644 --- a/tests/Functional/SwedbankPayTest/Test/MobilePayPaymentTest.php +++ b/tests/Functional/SwedbankPayTest/Test/MobilePayPaymentTest.php @@ -170,7 +170,9 @@ public function testPurchaseRequest() // phpcs:disable if (file_exists(__DIR__ . '/../../../payments.ini')) { $data = parse_ini_file(__DIR__ . '/../../../payments.ini', true); - return $data['MobilePay']['payment_id']; + if (isset($data['MobilePay'])) { + return $data['MobilePay']['payment_id']; + } } // phpcs:enable diff --git a/tests/acceptance/MobilepayCept.php b/tests/acceptance/MobilepayCept.php index ee7b099..8a4c7d9 100644 --- a/tests/acceptance/MobilepayCept.php +++ b/tests/acceptance/MobilepayCept.php @@ -3,6 +3,9 @@ use Facebook\WebDriver\WebDriverExpectedCondition; use Facebook\WebDriver\WebDriverSelect; +$scenario->skip('Temporary problem with Mobilepay test page'); +$scenario->incomplete('Temporary problem with Mobilepay test page'); + $I = new AcceptanceTester($scenario); $I->wantTo('perform actions and see result'); $I->amOnPage('/mobilepay.php');