Unit/System Tests Composer Dependency Changed PR-6.2-dev Pending

User tests: Successful: Unsuccessful:

avatar heelc29
heelc29
26 Jul 2026

Pull Request resolves # .

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

Summary of Changes

update composer dev dependency phpunit/phpunit to version 12.5

some necessary changes for migration

  • replace withConsecutive
  • replace setMethods
  • make data provider static
  • make data provider public
  • convert metadata doc-comment to attribute
  • replace getMockForAbstractClass
  • replace deprecate TestCase methods
  • remove wrong dataprovider
  • convert mock to stub if no expectations were configured

test optimization

  • update assert calls
  • remove redundant constraints
  • use testhelper from joomla/test for php reflection

Testing Instructions

run ./libraries/vendor/bin/phpunit --testsuite Unit for unit tests
run ./libraries/vendor/bin/phpunit --testsuite Integration for integration tests

Actual result BEFORE applying this Pull Request

tests will be executed with PHPUnit 9.6.34

Expected result AFTER applying this Pull Request

tests will be executed with PHPUnit 12.5.32 UPDATE: 12.5.33

Link to documentations

Please select:

  • No documentation changes for guide.joomla.org needed
  • No documentation changes for manual.joomla.org needed
avatar heelc29 heelc29 - open - 26 Jul 2026
avatar heelc29 heelc29 - change - 26 Jul 2026
Status New ⇒ Pending
avatar joomla-cms-bot joomla-cms-bot - change - 26 Jul 2026
Category ⇒ External Library Composer Change Unit Tests
avatar github-actions[bot]
github-actions[bot] - comment - 17 Aug 2026

This pull request has conflicts, please resolve those before we can evaluate the pull request.

avatar heelc29 heelc29 - change - 18 Aug 2026
Labels Added: Unit/System Tests Composer Dependency Changed Conflicting Files PR-6.2-dev
avatar heelc29
heelc29 - comment - 18 Aug 2026

Conflicts resolved

avatar heelc29 heelc29 - change - 18 Aug 2026
The description was changed
avatar heelc29 heelc29 - edited - 18 Aug 2026
avatar github-actions[bot]
github-actions[bot] - comment - 18 Aug 2026

This pull request has conflicts, please resolve those before we can evaluate the pull request.

avatar HLeithner HLeithner - change - 23 Aug 2026
Labels Removed: Conflicting Files
avatar github-actions[bot]
github-actions[bot] - comment - 14 Sep 2026

This pull request has conflicts, please resolve those before we can evaluate the pull request.

avatar heelc29 heelc29 - change - 14 Sep 2026
Labels Added: Conflicting Files
avatar MacJoom MacJoom - change - 16 Sep 2026
Labels Removed: Conflicting Files
avatar MacJoom MacJoom - change - 16 Sep 2026
Labels Added: RTC
avatar MacJoom MacJoom - change - 16 Sep 2026
Status Pending ⇒ Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 ⇒ 2026-09-16 20:44:14
Closed_By ⇒ MacJoom
Labels Removed: RTC
avatar MacJoom MacJoom - close - 16 Sep 2026
avatar MacJoom MacJoom - merge - 16 Sep 2026
avatar MacJoom
MacJoom - comment - 16 Sep 2026

Thank you!

Add a Comment

Login with GitHub to post a comment