User tests: Successful: Unsuccessful:
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.
Launch tests and ensure there are no errors:
php libraries/vendor/bin/phpunit tests/Unit
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
Status | New | ⇒ | Pending |
Category | ⇒ | Unit Tests |
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
|
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.