mirror of
https://ghproxy.net/https://github.com/fairpm/fair-plugin.git
synced 2026-08-09 13:40:26 +08:00
Removed from PipelineWPTest (unit): - SearchByDidTest::test_should_return_plugin_result_on_success - SearchByDidTest::seed_full_pipeline() - AddPackageToReleaseCacheTest::test_should_add_release_to_cache - AddPackageToReleaseCacheTest::test_should_retain_existing_releases - AddPackageToReleaseCacheTest::seed_pipeline() These tested the FULL pipeline (DID doc → service → HTTP fetch → metadata → release) using pre_http_request mock filters inside unit tests. A metadata schema change would silently break them. Added to DidResolutionIntegrationTest (integration): - test_search_by_did_returns_plugin_result - test_add_package_to_release_cache_populates_cache Both run against the real Docker mock server, so a schema change produces a genuine integration failure, not a mock-data mismatch. Unit tests kept: edge cases that don't need HTTP (empty DID, non-DID search, wrong action, pipeline failure propagation). After: 280 unit tests (511 assertions), 19 integration (56 assertions). All suites pass. Signed-off-by: Chuck Adams <chaz@chaz.works> |
||
|---|---|---|
| .. | ||
| tests | ||
| bootstrap.php | ||