Skip to content

Commit a12607b

Browse files
committed
MCLOUD-7277: Fix failed tests on travis for PHP 7.1
1 parent f1e6f7f commit a12607b

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ install:
5454
- composer config github-oauth.github.com ${GITHUB_TOKEN}
5555
- if [ -n "${MCC_VERSION}" ]; then composer config repositories.mcc git [email protected]:magento/magento-cloud-components.git && composer require "magento/magento-cloud-components:${MCC_VERSION}" --no-update; fi;
5656
- if [ -n "${MCD_VERSION}" ]; then composer config repositories.mcd git [email protected]:magento/magento-cloud-docker.git && composer require "magento/magento-cloud-docker:${MCD_VERSION}" --no-update; fi;
57+
- if [ -n "${MCD_VERSION_71}" ] && [ $TRAVIS_PHP_VERSION == "7.1" ]; then composer config repositories.mcd git [email protected]:magento/magento-cloud-docker.git && composer require "magento/magento-cloud-docker:${MCD_VERSION_71}" --no-update; fi;
5758
- if [ -n "${MCP_VERSION}" ]; then composer config repositories.mcp git [email protected]:magento/magento-cloud-patches.git && composer require "magento/magento-cloud-patches:${MCP_VERSION}" --no-update; fi;
5859
- if [ -n "${MQP_VERSION}" ]; then composer config repositories.mqp git [email protected]:magento/quality-patches.git && composer require "magento/quality-patches:${MQP_VERSION}" --no-update; fi;
5960
- composer update -n --no-suggest

src/Test/Functional/Acceptance/AdminCredential22Cest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ class AdminCredential22Cest extends AdminCredentialCest
1515
/**
1616
* @var string
1717
*/
18-
protected $magentoCloudTemplate = '2.2.11';
18+
protected $magentoCloudTemplate = '2.2.9';
1919
}

src/Test/Functional/Acceptance/RedisPhp71Cest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ protected function defaultConfigurationDataProvider(): array
1919
{
2020
return [
2121
[
22-
'version' => '2.2.11',
22+
'version' => '2.2.9',
2323
],
2424
];
2525
}
@@ -31,7 +31,7 @@ protected function wrongConfigurationDataProvider(): array
3131
{
3232
return [
3333
[
34-
'version' => '2.2.11',
34+
'version' => '2.2.9',
3535
'wrongConfiguration' => [
3636
'stage' => [
3737
'deploy' => [
@@ -46,7 +46,7 @@ protected function wrongConfigurationDataProvider(): array
4646
. '\'\Magento\Framework\Cache\Backend\Redis\'',
4747
],
4848
[
49-
'version' => '2.2.11',
49+
'version' => '2.2.9',
5050
'wrongConfiguration' => [
5151
'stage' => [
5252
'deploy' => [
@@ -71,7 +71,7 @@ protected function goodConfigurationDataProvider(): array
7171
{
7272
return [
7373
[
74-
'version' => '2.2.11',
74+
'version' => '2.2.9',
7575
'backendModel' => [
7676
'stage' => [
7777
'deploy' => [

src/Test/Functional/Acceptance/RedisPhp72Cest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ class RedisPhp72Cest extends RedisCest
1818
protected function defaultConfigurationDataProvider(): array
1919
{
2020
return [
21+
[
22+
'version' => '2.2.11',
23+
],
2124
[
2225
'version' => '2.3.0',
2326
],

0 commit comments

Comments
 (0)