fair-plugin/tests/fixtures/release-doc-with-requirements.json
Chuck Adams 17fe6177c8
Phase 2: add test fixtures and factories
Fixtures (tests/fixtures/):
  DID documents: valid, no-keys, no-services, alias-valid, alias-invalid-domain
  Metadata docs: full (3 releases), minimal, no-releases
  Release docs: v1.0.0, no-artifacts, no-version, with-requirements

Factories (tests/Factory/):
  MetadataDocumentFactory: full(), minimal(), from_fixture(), builder(),
    without_releases(), without_field()
  ReleaseDocumentFactory: full(), with_requirements(), with_version(),
    builder(), list_of(), without_field(), without_artifacts()

Added autoload-dev PSR-4: FAIR\Tests\ -> tests/
All 19 existing tests pass.

Signed-off-by: Chuck Adams <chaz@chaz.works>
2026-06-09 11:19:22 -06:00

22 lines
573 B
JSON

{
"version": "2.0.0",
"artifacts": {
"package": [
{
"url": "https://github.com/fairpm/test-plugin/releases/download/v2.0.0/test-plugin.zip",
"lang": "en-US",
"content-type": "application/zip",
"signature": "zDnaerDaTF5BXEavCrfRZEk316dpbLsfPDZ3WJ5hRTPFU2169"
}
]
},
"requires": {
"env:php": ">=8.0",
"env:wp": ">=5.4",
"env:php-gmp": "*",
"env:php-mbstring": "*"
},
"suggests": {
"env:wp": ">=6.4"
}
}