httpd: Fix tests

This commit is contained in:
cloudhead 2024-03-11 12:24:30 +01:00
parent 7ddb1119a5
commit 3d7ae89a83
No known key found for this signature in database
1 changed files with 10 additions and 7 deletions

View File

@ -2318,7 +2318,7 @@ mod routes {
{ {
"emoji": "🚀", "emoji": "🚀",
"authors": [ "authors": [
{ "id": "did:key:z6Mkk7oqY4pPxhMmGEotDYsFo97vhCj85BLY1H256HrJmjN8" } { "id": "did:key:z6Mkk7oqY4pPxhMmGEotDYsFo97vhCj85BLY1H256HrJmjN8", "alias": "seed" }
], ],
}, },
], ],
@ -2367,25 +2367,28 @@ mod routes {
"id": ISSUE_DISCUSSION_ID, "id": ISSUE_DISCUSSION_ID,
"author": { "author": {
"id": CONTRIBUTOR_DID, "id": CONTRIBUTOR_DID,
"alias": "seed"
}, },
"title": "Issue #1", "title": "Issue #1",
"state": { "state": {
"status": "open", "status": "open",
}, },
"assignees": [ "assignees": [
{ "id": CONTRIBUTOR_DID } { "id": CONTRIBUTOR_DID, "alias": "seed" }
], ],
"discussion": [ "discussion": [
{ {
"id": ISSUE_DISCUSSION_ID, "id": ISSUE_DISCUSSION_ID,
"author": { "author": {
"id": CONTRIBUTOR_DID, "id": CONTRIBUTOR_DID,
"alias": "seed",
}, },
"body": "Change 'hello world' to 'hello everyone'", "body": "Change 'hello world' to 'hello everyone'",
"edits": [ "edits": [
{ {
"author": { "author": {
"id": CONTRIBUTOR_DID, "id": CONTRIBUTOR_DID,
"alias": "seed",
}, },
"body": "Change 'hello world' to 'hello everyone'", "body": "Change 'hello world' to 'hello everyone'",
"timestamp": TIMESTAMP, "timestamp": TIMESTAMP,
@ -2771,7 +2774,7 @@ mod routes {
"labels": [], "labels": [],
"merges": [], "merges": [],
"assignees": [ "assignees": [
{ "id": CONTRIBUTOR_DID } { "id": CONTRIBUTOR_DID, "alias": "seed" }
], ],
"revisions": [ "revisions": [
{ {
@ -3187,7 +3190,7 @@ mod routes {
{ {
"emoji": "🙏", "emoji": "🙏",
"authors": [ "authors": [
{ "id": "did:key:z6Mkk7oqY4pPxhMmGEotDYsFo97vhCj85BLY1H256HrJmjN8" } { "id": "did:key:z6Mkk7oqY4pPxhMmGEotDYsFo97vhCj85BLY1H256HrJmjN8", "alias": "seed" }
], ],
}, },
{ {
@ -3205,7 +3208,7 @@ mod routes {
}, },
"emoji": "🚀", "emoji": "🚀",
"authors": [ "authors": [
{ "id": "did:key:z6Mkk7oqY4pPxhMmGEotDYsFo97vhCj85BLY1H256HrJmjN8" } { "id": "did:key:z6Mkk7oqY4pPxhMmGEotDYsFo97vhCj85BLY1H256HrJmjN8", "alias": "seed" }
] ]
}, },
], ],
@ -3402,7 +3405,7 @@ mod routes {
{ {
"emoji": "🚀", "emoji": "🚀",
"authors": [ "authors": [
{ "id": "did:key:z6Mkk7oqY4pPxhMmGEotDYsFo97vhCj85BLY1H256HrJmjN8" } { "id": "did:key:z6Mkk7oqY4pPxhMmGEotDYsFo97vhCj85BLY1H256HrJmjN8", "alias": "seed" }
], ],
}, },
], ],
@ -3656,7 +3659,7 @@ mod routes {
{ {
"emoji": "🚀", "emoji": "🚀",
"authors": [ "authors": [
{ "id": "did:key:z6Mkk7oqY4pPxhMmGEotDYsFo97vhCj85BLY1H256HrJmjN8" } { "id": "did:key:z6Mkk7oqY4pPxhMmGEotDYsFo97vhCj85BLY1H256HrJmjN8", "alias": "seed" }
], ],
}, },
], ],