test: restore .htaccess file after running unit tests

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
pull/52905/head
Ferdinand Thiessen 2025-05-16 13:10:07 +07:00
parent fc9310feef
commit 44c7cbcee5
No known key found for this signature in database
GPG Key ID: 45FAE7268762B400
1 changed files with 3 additions and 0 deletions

@ -146,6 +146,9 @@ function cleanup_config {
fi
# Remove mysqlmb4.config.php
rm -f config/mysqlmb4.config.php
# restore .htaccess
git restore .htaccess
}
# restore config on exit