]> BookStack Code Mirror - system-cli/commit
Addressed restore issues
authorDan Brown <redacted>
Sun, 7 May 2023 12:26:44 +0000 (13:26 +0100)
committerDan Brown <redacted>
Sun, 7 May 2023 12:26:44 +0000 (13:26 +0100)
commitdf21bb3e4f751b6ddf616c19bc135dd980c50c47
tree67f1e99db6464c93ab2119de7e10bf04ec331a1b
parent681df67e9aec5ba4d356d5ba5634c97db1548380
Addressed restore issues

- Actually added force option to update-url artisan command, after missed
  in last commit.
- Fixed lack of updating APP_URL in .env due to bad preg_replace.
- Added new test to cover different case of using the backup env URL.
- Updated existing test with correct expectations.
src/Commands/RestoreCommand.php
tests/Commands/RestoreCommandTest.php