Skip to content

test(cart): improve Cart test coverage #556

Description

@superdav42

Task t454

Improve test coverage for the Cart class (inc/checkout/class-cart.php).

Current coverage: 61.1% (382 uncovered statements)
Estimated effort: ~4h

Acceptance Criteria

  • Additional PHPUnit tests added for Cart class
  • Coverage for inc/checkout/class-cart.php increases to ≥80%
  • All new tests pass in CI
  • No regressions in existing test suite

Context

Part of the ongoing test coverage improvement initiative for Ultimate Multisite.

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions