mirror of
https://ghproxy.net/https://github.com/fairpm/fair-plugin.git
synced 2026-08-08 13:30:25 +08:00
#17 (browser test seeding): - Updated browser-test seed.php to create dummy plugin with FAIR DID header AND seed a fair_update-errors transient. - Updated update-error-row.spec.ts to assert error row IS visible (was no-op conditional). Error text checked for expected content. #16 (error propagation e2e integration test): - Integration seed.php now registers a second plugin with 'did:plc:doesnotexist0000000000000' — unresolvable by mock server. - Added test_unresolvable_did_plugin_is_skipped_and_error_cached to UpdateTransientIntegrationTest: verifies the bad-DID plugin is excluded from both response and no_update, and WP_Error is cached. - Replaced test_empty_registry_handles_gracefully (reflection-based, now redundant after Updater::reset() fix). #15 (plugin_api_details unit tests): - Added PluginApiDetailsTest (4 tests) to PipelineWPTest.php: non-plugin_information action pass-through, empty slug pass-through, unmatched slug returns false, full pipeline success returns plugin info object with correct name and version. - Used seed_pipeline() pattern from existing SearchByDidTest. Zero-refactoring remaining: #14 (pipeline-mock migration), #18 (theme HTML). After: 283 tests, 520 assertions. Single-site + multisite pass. Signed-off-by: Chuck Adams <chaz@chaz.works> |
||
|---|---|---|
| .. | ||
| docker-compose.yml | ||
| seed.php | ||