Skip to content

[ECP-9682] Support PhpUnit v10 and fix the test cases#2961

Merged
candemiralp merged 24 commits intodevelop-10from
ECP-9682
May 15, 2025
Merged

[ECP-9682] Support PhpUnit v10 and fix the test cases#2961
candemiralp merged 24 commits intodevelop-10from
ECP-9682

Conversation

@candemiralp
Copy link
Contributor

@candemiralp candemiralp commented May 13, 2025

Description

This PR refactors the unit tests to support PHPUnit v10. In the scope of refactoring,

  • Removed setMethods() method has been replaced.
  • Unit test pipeline main.yml has been revisited to run PHPUnit according to Magento best practices.
  • Some test cases have been updated.

Tested scenarios

  • Automated test workflows

@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
0.7% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@candemiralp candemiralp merged commit 9056277 into develop-10 May 15, 2025
10 of 15 checks passed
@candemiralp candemiralp deleted the ECP-9682 branch May 15, 2025 13:13
@khushboo-singhvi khushboo-singhvi added the Feature Indicates a new feature addition label Jul 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature Indicates a new feature addition

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants