Skip to content

Commit e7e2a9a

Browse files
committed
Fix test due to change Application to Service
1 parent 852c45a commit e7e2a9a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/relay/src/relay.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ describe("MastodonRelay", () => {
126126
ok(response instanceof Response);
127127
});
128128

129-
test("fetching relay actor returns Application", async () => {
129+
test("fetching relay actor returns Service", async () => {
130130
const kv = new MemoryKvStore();
131131
const relay = new MastodonRelay({
132132
kv,
@@ -141,7 +141,7 @@ describe("MastodonRelay", () => {
141141

142142
strictEqual(response.status, 200);
143143
const json = await response.json() as any;
144-
strictEqual(json.type, "Application");
144+
strictEqual(json.type, "Service");
145145
strictEqual(json.preferredUsername, "relay");
146146
strictEqual(json.name, "ActivityPub Relay");
147147
});
@@ -397,7 +397,7 @@ describe("MastodonRelay", () => {
397397
strictEqual(response.status, 200);
398398
const json = await response.json() as any;
399399

400-
strictEqual(json.type, "Application");
400+
strictEqual(json.type, "Service ");
401401
strictEqual(json.preferredUsername, "relay");
402402
strictEqual(json.name, "ActivityPub Relay");
403403
strictEqual(

0 commit comments

Comments
 (0)