Skip to content

test(host-providers): write tests for Base_Host_Provider #589

Description

@superdav42

Task t488

Write unit tests for inc/integrations/host-providers/class-base-host-provider.php.

Current coverage: 16.9% (148 uncovered statements)
Target: ≥80% coverage

Acceptance Criteria

  • PHPUnit tests written for Base_Host_Provider class
  • Coverage reaches ≥80% for this file
  • All tests pass in CI (PHP 8.2, 8.3, 8.4, 8.5)
  • No regressions in existing test suite

How

  • Create test file at tests/unit/inc/integrations/host-providers/
  • Mock external host provider API calls
  • Test base class methods and abstract interface

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