You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a number of BATS tests failing which I need to address at some stage. The following is the output of the tests.
$ sudo bats -t ./tests/bats1..35not ok 1 cleanup test directory and clone project repo
# (in test file bats/_setup.bats, line 18)
# `[ "$status"-eq 0 ]' failedok 2 create test directory structurenot ok 3 apache file backup
# (in test file bats/apache_config.bats, line 25)
# `[ "${lines[7]}"="✔ Successfully backed up the Apache 2 configuration files." ]' failednot ok 4 apache copy files
# (in test file bats/apache_config.bats, line 48)
# `[ "${lines[10]}"="✔ Successfully copied the new Apache 2 configuration files." ]' failednot ok 5 apache final configuration
# (in test file bats/apache_config.bats, line 63)
# `[ "${lines[7]}"="✔ Your website folder has been created at ${websites} and you can edit your files in the 'dist' folder." ]' failedok 6 global includesok 7 brew startok 8 brew installnot ok 9 brew packages
# (in test file bats/brew.bats, line 70)
# `[ "${lines[11]}"="\n${GRN}\xE2\x9C\x94${NOC}${CYA}Successfully installed Apache 2," ]' failedok 10 brew startupok 11 colour paletteok 12 enter domain namenot ok 13 folder and git setup
# (in test file bats/folder_and_git.bats, line 25)
# `[ "${lines[12]}"="✔ Successfully created folder and initialised git repo for ${domain}." ]' failednot ok 14 change file and folder ownership
# (in test file bats/folder_ownership.bats, line 22)
# `[ "${lines[6]}"="✔ Successfully set folder permissions recursively on ${main} and ${httpd}." ]' failednot ok 15 git setup
# (in test file bats/git_setup.bats, line 28)
# `[ "${lines[13]}"="\n${GRN}\xE2\x9C\x94${NOC}${CYA}Successfully created files and${NOC}" ]' failedok 16 user variablesok 17 ssl variablesok 18 path variablesnot ok 19 hosts file domain insert
# (in test file bats/hosts_domain.bats, line 23)
# `[ "${lines[7]}"="✔ Successfully added ${domain} to ${hosts} file." ]' failedok 20 hosts file backupok 21 hosts symbolic linkok 22 add ssl to keychain certificateok 23 openssl commandnot ok 24 openssl configuration
# (in test file bats/openssl_config.bats, line 25)
# `[ "${lines[9]}"="✔ Successfully added ${domain} to the openssl configuration file." ]' failednot ok 25 setup ssl
# (in test file bats/setup_ssl.bats, line 75)
# `[ "${lines[19]}"="✔ Successfully created the localhost SSL." ]' failednot ok 26 add certificates to apple keychain
# (in test file bats/setup_ssl.bats, line 102)
# `[ "${lines[10]}"="✔ Successfully added the new Root CA, localhost server and client SSL certificates to the macOS Keychain." ]' failedok 27 set folder permissionsok 28 git submodule installok 29 adminer installok 30 error pages installok 31 phpmyadmin installok 32 test no cancels upgrade to packagesok 33 test yes starts and completes the upgrade of packagesnot ok 34 upgrade adminer and apache error pages projects
# (in test file bats/upgrade_software.bats, line 79)
# `[ "${lines[4]}"="✔ Successfully updated the core project." ]' failednot ok 35 change file and folder ownership
# (in test file bats/website_folder_ownership.bats, line 22)
# `[ "${lines[6]}"="✔ Successfully set ${username}:${group} permissions to ${websites}/${domain}" ]' failed
The text was updated successfully, but these errors were encountered:
There are a number of BATS tests failing which I need to address at some stage. The following is the output of the tests.
The text was updated successfully, but these errors were encountered: