mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2025-08-21 05:44:48 +00:00
fix test/e2e/fetch-validate-ap-deny.ts
This commit is contained in:
parent
bc1cd86b10
commit
64d254f07f
1 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ describe('validateContentTypeSetAsActivityPub/JsonLD (deny case)', () => {
|
||||||
validateContentTypeSetAsActivityPub(res);
|
validateContentTypeSetAsActivityPub(res);
|
||||||
}
|
}
|
||||||
|
|
||||||
expect(doValidate).toThrow('Content type is not');
|
expect(doValidate).toThrow('content type is not');
|
||||||
});
|
});
|
||||||
|
|
||||||
test('JSON-LD: ファイルはエラーになる', async () => {
|
test('JSON-LD: ファイルはエラーになる', async () => {
|
||||||
|
@ -35,6 +35,6 @@ describe('validateContentTypeSetAsActivityPub/JsonLD (deny case)', () => {
|
||||||
validateContentTypeSetAsJsonLD(res);
|
validateContentTypeSetAsJsonLD(res);
|
||||||
}
|
}
|
||||||
|
|
||||||
expect(doValidate).toThrow('Content type is not');
|
expect(doValidate).toThrow('content type is not');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue