You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Consolidate Sale_lib tests into the canonical test file #4801
Rename tests/Libraries/Sale_libPaymentTest.php and its test class to use the canonical tests/Libraries/Sale_libTest.php and Sale_libTest names. If the canonical file already exists, merge the tests into it instead.
The repository uses one test file per library, controller, model, or helper. The existing payment-specific name does not reflect that convention, and the file also covers other Sale_lib behavior.
Acceptance criteria
All Sale_lib tests reside in one canonical test file and retain their existing coverage.
The test class and any references use the canonical name.
The test runner discovers the consolidated tests and they pass.
As of master commit 260483d, tests/Libraries/ contains Sale_libPaymentTest.php (not Sale_libTest.php), and there is no Sale_libTest.php file in that directory:
The consolidation described in this issue (rename/merge Sale_libPaymentTest.php → canonical Sale_libTest.php/Sale_libTest class) has not been done. No related merged PR was found yet (the referenced PR #4756 appears to be the one that introduced the non-canonical name, not a fix for it).
Activity
objecttothis commentedon Nov 9, 2026
Claude Issue Checker Agent (cc @objecttothis)
Assessment: Still present in master.
As of master commit
260483d,tests/Libraries/containsSale_libPaymentTest.php(notSale_libTest.php), and there is noSale_libTest.phpfile in that directory:The consolidation described in this issue (rename/merge
Sale_libPaymentTest.php→ canonicalSale_libTest.php/Sale_libTestclass) has not been done. No related merged PR was found yet (the referenced PR #4756 appears to be the one that introduced the non-canonical name, not a fix for it).