mirror of
https://ghproxy.net/https://github.com/fairpm/fair-plugin.git
synced 2026-08-10 13:50:27 +08:00
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>
20 lines
547 B
JSON
20 lines
547 B
JSON
{
|
|
"id": "did:plc:z72i7hdynmk6r22z27h6tvur",
|
|
"alsoKnownAs": [
|
|
"fair://test-plugin.example.com/"
|
|
],
|
|
"verificationMethod": [
|
|
{
|
|
"id": "did:plc:z72i7hdynmk6r22z27h6tvur#fair-signing",
|
|
"type": "Multikey",
|
|
"publicKeyMultibase": "zDnaerDaTF5BXEavCrfRZEk316dpbLsfPDZ3WJ5hRTPFU2169"
|
|
}
|
|
],
|
|
"service": [
|
|
{
|
|
"id": "#fair-repo",
|
|
"type": "FairPackageManagementRepo",
|
|
"serviceEndpoint": "https://repo.fair.example.com"
|
|
}
|
|
]
|
|
}
|