#5496 - _backups unit test is broken

  • By
  • Added
  • 9 views
Identifier #5496
Issue type Minor issue (breaks specific functionality)
Title _backups unit test is broken
Status Open
Tags

Roadmap: Over the horizon (custom)

Handling member Chris Graham
Addon General / Uncategorised
Description The _backups unit test is broken.

It needs mysql root to create the test database to restore into. When I tried modifying the unit test to put that in the _config.php file (at the end) within the backup exports, this did not work. It still tried to use the other non-root username.

I also tried moving this config file temporarily to the main config file when running the restore iterations, thinking it was using the main config file and not the one in the test folder. But I was wrong; it was trying to use the test folder config, so that did not work either.

This unit test needs careful re-review. For the time being, it's low priority because admins are encouraged to use their web panel for backups instead.
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated