Problem
The current main PHPUnit suite has five baseline errors because tests/bootstrap.php loads inc/schema/schema-event.php without loading the module that defines ExtraChill\\SEO\\Schema\\ec_seo_build_postal_address().
Observed with composer test on a clean issue #48 worktree:
- 26 tests, 60 assertions, 5 errors.
- Failures are in
SchemaEventBuildTest and SchemaEventIntegrationTest.
- All terminate at
inc/schema/schema-event.php:283 with undefined ec_seo_build_postal_address().
Required outcome
Make the lightweight test bootstrap load the same schema helper dependency needed by schema-event.php, preserving production load order and avoiding duplicate test-only implementations.
Acceptance
composer test passes on an otherwise clean checkout, and the bootstrap still remains a lightweight non-WordPress unit environment.
Problem
The current
mainPHPUnit suite has five baseline errors becausetests/bootstrap.phploadsinc/schema/schema-event.phpwithout loading the module that definesExtraChill\\SEO\\Schema\\ec_seo_build_postal_address().Observed with
composer teston a clean issue #48 worktree:SchemaEventBuildTestandSchemaEventIntegrationTest.inc/schema/schema-event.php:283with undefinedec_seo_build_postal_address().Required outcome
Make the lightweight test bootstrap load the same schema helper dependency needed by
schema-event.php, preserving production load order and avoiding duplicate test-only implementations.Acceptance
composer testpasses on an otherwise clean checkout, and the bootstrap still remains a lightweight non-WordPress unit environment.