Skip to content

Commit

Permalink
Merge pull request #492 from nextcloud/backport-come/488/stable27
Browse files Browse the repository at this point in the history
[stable27] fix(integrity): expect pkg mgmt files
  • Loading branch information
come-nc authored Sep 14, 2023
2 parents 744f04d + bb5f3d5 commit 464f109
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,13 @@ private function getExpectedElementsList() {
'index.html',
'indie.json',
'.user.ini',
'composer.json',
'composer.lock',
'console.php',
'cron.php',
'index.php',
'package.json',
'package-lock.json',
'public.php',
'remote.php',
'status.php',
Expand Down
4 changes: 4 additions & 0 deletions lib/Updater.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,13 @@ private function getExpectedElementsList() {
'index.html',
'indie.json',
'.user.ini',
'composer.json',
'composer.lock',
'console.php',
'cron.php',
'index.php',
'package.json',
'package-lock.json',
'public.php',
'remote.php',
'status.php',
Expand Down
2 changes: 1 addition & 1 deletion tests/features/master.feature
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ Feature: CLI updater - master base
And the version number is decreased in the config.php to enforce upgrade
When the CLI updater is run successfully
And the output should contain "Update successful"
Then the installed version should be 26.0
Then the installed version should be 28.0
And maintenance mode should be off
And upgrade is not required
Binary file modified updater.phar
Binary file not shown.

0 comments on commit 464f109

Please sign in to comment.