Skip to content

Commit 073b893

Browse files
authored
Merge pull request #215 from PrestaShop/fixHummingbirdDownload
`slack:notifier` : Fixed URL of download of file for HB
2 parents a4a9b07 + d7f2f7e commit 073b893

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/App/Command/SlackNotifierCommand.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ protected function checkUITestUpdates(): string
382382
}
383383

384384
// Check theme Hummingbird
385-
$content = $this->github->getClient()->api('repo')->contents()->download('PrestaShop', 'PrestaShop', 'tests/UI/commonTests/FO/hummingbird.ts', 'refs/heads/develop');
385+
$content = $this->github->getClient()->api('repo')->contents()->download('PrestaShop', 'PrestaShop', 'tests/UI/commonTests/BO/design/hummingbird.ts', 'refs/heads/develop');
386386
// Search version in code
387387
preg_match('#https:\/\/github.com\/PrestaShop\/hummingbird\/releases\/download\/([v\.0-9]+)\/hummingbird.zip#m', $content, $matches);
388388
$curVersion = $matches[1];
@@ -392,7 +392,7 @@ protected function checkUITestUpdates(): string
392392

393393
if ($data['name'] !== $curVersion) {
394394
$hasUpdates = true;
395-
$slackMessage .= ' • :bird: <https://github.com/PrestaShop/PrestaShop/blob/develop/tests/UI/commonTests/FO/hummingbird.ts|hummingbird>: Code (`' . $curVersion . '`) - Release (:warning: `' . $data['name'] . '`)';
395+
$slackMessage .= ' • :bird: <https://github.com/PrestaShop/PrestaShop/blob/develop/tests/UI/commonTests/BO/design/hummingbird.ts|hummingbird>: Code (`' . $curVersion . '`) - Release (:warning: `' . $data['name'] . '`)';
396396
$slackMessage .= PHP_EOL;
397397
}
398398

0 commit comments

Comments
 (0)