Skip to content

test(checkout): write unit tests for Checkout class #555

Description

@superdav42

Task t453

Write unit tests for the Checkout class (inc/checkout/class-checkout.php).

Current coverage: 7.9% (960 uncovered statements)
Estimated effort: ~6h

Acceptance Criteria

  • PHPUnit test file created covering the Checkout class
  • Coverage for inc/checkout/class-checkout.php increases to ≥60%
  • 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