Skip to content

Commit 5e33685

Browse files
[Imported] Add mounts object in Magento cloud application (#35)
1 parent e19c56a commit 5e33685

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/Config/Dist/Generator.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,8 @@ private function getBaseConfig(Config $config): array
186186
'ADMIN_URL' => 'admin'
187187
],
188188
'MAGENTO_CLOUD_APPLICATION' => [
189-
'hooks' => $config->getHooks()
189+
'hooks' => $config->getHooks(),
190+
'mounts' => $config->getMounts()
190191
]
191192
];
192193
}

src/Test/Unit/Config/Dist/GeneratorTest.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@ public function testGenerate(): void
136136
'ADMIN_URL' => 'admin'
137137
],
138138
'MAGENTO_CLOUD_APPLICATION' => [
139-
'hooks' => []
139+
'hooks' => [],
140+
'mounts' => []
140141
],
141142
])
142143
->willReturn([
@@ -182,7 +183,8 @@ public function testGenerate(): void
182183
],
183184
[
184185
[
185-
'hooks' => []
186+
'hooks' => [],
187+
'mounts' => []
186188
],
187189
2,
188190
'exported_application_value',

0 commit comments

Comments
 (0)