await checkBadSortPagination(server.url, path, server.accessToken)
})
+ it('Should fail with an incorrect unread parameter', async function () {
+ await makeGetRequest({
+ url: server.url,
+ path,
+ query: {
+ unread: 'toto'
+ },
+ token: server.accessToken,
+ statusCodeExpected: 200
+ })
+ })
+
it('Should fail with a non authenticated user', async function () {
await makeGetRequest({
url: server.url,
newVideoFromSubscription: UserNotificationSettingValue.WEB_NOTIFICATION,
newCommentOnMyVideo: UserNotificationSettingValue.WEB_NOTIFICATION,
videoAbuseAsModerator: UserNotificationSettingValue.WEB_NOTIFICATION,
- blacklistOnMyVideo: UserNotificationSettingValue.WEB_NOTIFICATION
+ blacklistOnMyVideo: UserNotificationSettingValue.WEB_NOTIFICATION,
+ myVideoImportFinished: UserNotificationSettingValue.WEB_NOTIFICATION,
+ myVideoPublished: UserNotificationSettingValue.WEB_NOTIFICATION
}
it('Should fail with missing fields', async function () {