Unit/System Tests PR-5.2-dev Pending

User tests: Successful: Unsuccessful:

avatar voronkovich
voronkovich
15 Feb 2025

Summary of Changes

Some tests need to backup the $_SERVER super-global array before execution. To do this they save the $_SERVER to protected property. But PHPUnit for a long time supports a @backupGlobal annotation for these cases.

Testing Instructions

Launch tests and ensure there are no errors:

php libraries/vendor/bin/phpunit tests/Unit

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar voronkovich voronkovich - open - 15 Feb 2025
avatar voronkovich voronkovich - change - 15 Feb 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 15 Feb 2025
Category Unit Tests
avatar voronkovich voronkovich - change - 15 Feb 2025
The description was changed
avatar voronkovich voronkovich - edited - 15 Feb 2025
avatar wilsonge wilsonge - change - 15 Feb 2025
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2025-02-15 19:44:38
Closed_By wilsonge
Labels Added: Unit/System Tests PR-5.2-dev
avatar wilsonge wilsonge - close - 15 Feb 2025
avatar wilsonge wilsonge - merge - 15 Feb 2025
avatar wilsonge
wilsonge - comment - 15 Feb 2025

Thanks! As this is just tests, I'm merging on review with the tests passing. Additionally as just tests happy to merge this whilst we're in RC.

Add a Comment

Login with GitHub to post a comment