-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OPENEUROPA-1271: Test that it is possible to specify the --skip-permi…
…ssions-setup option in configuration.
- Loading branch information
Showing
3 changed files
with
47 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,25 @@ | ||
# When the drupal:permissions-setup command is run it should make the settings | ||
# folder and file writable, and there should not be any error. | ||
- configuration: | ||
drupal: | ||
settings: | ||
sites-subdir: "build/sites/default/" | ||
settings_file: "settings.php" | ||
command: "drupal:permissions-setup" | ||
expected_error: false | ||
expected_settings_dir_permission: "0775" | ||
expected_settings_file_permission: "0664" | ||
|
||
# When the drupal:site-install command is run with the 'skip-permission-setup' | ||
# option set to 'true' then the settings folder and file should not be made | ||
# writable, and an error should be returned. | ||
- configuration: | ||
drupal: | ||
settings: | ||
sites-subdir: "build/sites/default/" | ||
settings_file: "settings.php" | ||
skip-permissions-setup: true | ||
command: "drupal:site-install" | ||
expected_error: true | ||
expected_settings_dir_permission: "0555" | ||
expected_settings_file_permission: "0444" |