Skip to content

Commit

Permalink
Add test for Pantheon Quicksilver
Browse files Browse the repository at this point in the history
  • Loading branch information
kyletaylored committed Sep 1, 2021
1 parent e2f1cda commit 030db50
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Composer/Installers/PantheonInstaller.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class PantheonInstaller extends BaseInstaller
{
/** @var array<string, string> */
protected $locations = array(
'script' => 'web/private/scripts/quicksilver/{$name}/',
'module' => 'web/private/scripts/quicksilver/{$name}/',
'script' => 'web/private/scripts/quicksilver/{$name}',
'module' => 'web/private/scripts/quicksilver/{$name}',
);
}
4 changes: 4 additions & 0 deletions tests/Composer/Installers/Test/InstallerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@ public function supportsProvider(): array
array('puppet-module', true),
array('porto-container', true),
array('processwire-module', true),
array('quicksilver-script', true),
array('quicksilver-module', true),
array('radphp-bundle', true),
array('redaxo-addon', true),
array('redaxo-bestyle-plugin', true),
Expand Down Expand Up @@ -391,6 +393,8 @@ public function installPathProvider(): array
array('porto-container', 'app/Containers/container-name/', 'test/container-name'),
array('radphp-bundle', 'src/Migration/', 'atkrad/migration'),
array('processwire-module', 'site/modules/HelloWorld/', 'test/hello-world'),
array('quicksilver-script', 'web/private/scripts/quicksilver/quicksilver-script', 'shama/quicksilver-script'),
array('quicksilver-module', 'web/private/scripts/quicksilver/quicksilver-module', 'shama/quicksilver-module'),
array('redaxo-addon', 'redaxo/include/addons/my_plugin/', 'shama/my_plugin'),
array('redaxo-bestyle-plugin', 'redaxo/include/addons/be_style/plugins/my_plugin/', 'shama/my_plugin'),
array('redaxo5-addon', 'redaxo/src/addons/my_plugin/', 'shama/my_plugin'),
Expand Down

0 comments on commit 030db50

Please sign in to comment.