Fix schema.org context
This commit is contained in:
parent
ceecd871a4
commit
4d52690134
|
@ -179,7 +179,7 @@ function buildContext (contextValue?: ContextValue) {
|
||||||
|
|
||||||
{
|
{
|
||||||
pt: 'https://joinpeertube.org/ns#',
|
pt: 'https://joinpeertube.org/ns#',
|
||||||
sc: 'http://schema.org#',
|
sc: 'http://schema.org/',
|
||||||
|
|
||||||
...contextValue
|
...contextValue
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,7 @@ import { buildAbsoluteFixturePath } from '@shared/core-utils'
|
||||||
import { isHTTPSignatureVerified, isJsonLDSignatureVerified, parseHTTPSignature } from '../../../helpers/peertube-crypto'
|
import { isHTTPSignatureVerified, isJsonLDSignatureVerified, parseHTTPSignature } from '../../../helpers/peertube-crypto'
|
||||||
|
|
||||||
describe('Test activity pub helpers', function () {
|
describe('Test activity pub helpers', function () {
|
||||||
|
|
||||||
describe('When checking the Linked Signature', function () {
|
describe('When checking the Linked Signature', function () {
|
||||||
|
|
||||||
it('Should fail with an invalid Mastodon signature', async function () {
|
it('Should fail with an invalid Mastodon signature', async function () {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user