+ {
+ title: 'AP - account peertube',
+ path: '/accounts/peertube',
+ headers: buildAPHeader(),
+ expecter: (body, status) => {
+ return status === 200 && body.startsWith('{"type":')
+ }
+ },
+ {
+ title: 'AP - video',
+ path: '/videos/watch/' + video.uuid,
+ headers: buildAPHeader(),
+ expecter: (body, status) => {
+ return status === 200 && body.startsWith('{"type":"Video"')
+ }
+ },
+ {
+ title: 'Misc - webfinger peertube',
+ path: '/.well-known/webfinger?resource=acct:peertube@' + server.host,
+ expecter: (body, status) => {
+ return status === 200 && body.startsWith('{"subject":')
+ }
+ },