Skip to content

Commit d02eacb

Browse files
authored
Merge pull request #44 from magento-commerce/develop
MCLOUD-7868: Merge develop into 1.2
2 parents baa16a2 + fe89cca commit d02eacb

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

src/Test/Integration/_files/custom_cloud_base_native/docker-compose.exp.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ services:
102102
image: 'magento/magento-cloud-docker-php:7.2-cli-1.2.0'
103103
env_file: ./.docker/config.env
104104
environment:
105-
- 'PHP_EXTENSIONS=bcmath bz2 calendar exif gd gettext intl mysqli pcntl pdo_mysql soap sockets sysvmsg sysvsem sysvshm opcache zip xsl'
105+
- 'PHP_EXTENSIONS=bcmath bz2 calendar exif gd gettext intl mysqli pcntl pdo_mysql soap sockets sysvmsg sysvsem sysvshm opcache zip xsl sodium'
106106
build:
107107
hostname: build.magento2.test
108108
image: 'magento/magento-cloud-docker-php:7.2-cli-1.2.0'

src/Test/Unit/Config/RelationshipTest.php

+8-4
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ class RelationshipTest extends TestCase
2727
*/
2828
private $configMock;
2929

30+
/**
31+
* @var array
32+
*/
3033
public $defaultConfigs = [
3134
'database' => [
3235
[
@@ -93,9 +96,7 @@ public function testGet()
9396
['elasticsearch'],
9497
['rabbitmq']
9598
)
96-
->willReturnOnConsecutiveCalls(
97-
true, false, false, true, true, true
98-
);
99+
->willReturnOnConsecutiveCalls(true, false, false, true, true, true);
99100
$this->configMock->expects($this->exactly(4))
100101
->method('getServiceVersion')
101102
->withConsecutive(
@@ -105,7 +106,10 @@ public function testGet()
105106
['rabbitmq']
106107
)
107108
->willReturnOnConsecutiveCalls(
108-
$mysqlVersion, $redisVersion, $esVersion, $rmqVersion
109+
$mysqlVersion,
110+
$redisVersion,
111+
$esVersion,
112+
$rmqVersion
109113
);
110114

111115
$this->assertEquals($configWithType, $this->relationship->get($this->configMock));

0 commit comments

Comments
 (0)