@@ -79,10 +79,10 @@ abstract class WebTestCase extends BaseWebTestCase
79
79
protected const MESSAGE_RESPONSE_KEYS = ['messageId ' , 'threadId ' , 'sender ' , 'body ' , 'status ' , 'createdAt ' ];
80
80
protected const USER_RESPONSE_KEYS = ['userId ' , 'username ' , 'about ' , 'avatar ' , 'cover ' , 'createdAt ' , 'followersCount ' , 'apId ' , 'apProfileId ' , 'isBot ' , 'isFollowedByUser ' , 'isFollowerOfUser ' , 'isBlockedByUser ' , 'isAdmin ' , 'isGlobalModerator ' , 'serverSoftware ' , 'serverSoftwareVersion ' , 'notificationStatus ' ];
81
81
protected const USER_SMALL_RESPONSE_KEYS = ['userId ' , 'username ' , 'isBot ' , 'isFollowedByUser ' , 'isFollowerOfUser ' , 'isBlockedByUser ' , 'avatar ' , 'apId ' , 'apProfileId ' , 'createdAt ' , 'isAdmin ' , 'isGlobalModerator ' ];
82
- protected const ENTRY_RESPONSE_KEYS = ['entryId ' , 'magazine ' , 'user ' , 'domain ' , 'title ' , 'url ' , 'image ' , 'body ' , 'lang ' , 'tags ' , 'badges ' , 'numComments ' , 'uv ' , 'dv ' , 'favourites ' , 'isFavourited ' , 'userVote ' , 'isOc ' , 'isAdult ' , 'isPinned ' , 'createdAt ' , 'editedAt ' , 'lastActive ' , 'visibility ' , 'type ' , 'slug ' , 'apId ' , 'canAuthUserModerate ' , 'notificationStatus ' , 'bookmarks ' , 'crosspostedEntries ' ];
83
- protected const ENTRY_COMMENT_RESPONSE_KEYS = ['commentId ' , 'magazine ' , 'user ' , 'entryId ' , 'parentId ' , 'rootId ' , 'image ' , 'body ' , 'lang ' , 'isAdult ' , 'uv ' , 'dv ' , 'favourites ' , 'isFavourited ' , 'userVote ' , 'visibility ' , 'apId ' , 'mentions ' , 'tags ' , 'createdAt ' , 'editedAt ' , 'lastActive ' , 'childCount ' , 'children ' , 'canAuthUserModerate ' , 'bookmarks ' ];
84
- protected const POST_RESPONSE_KEYS = ['postId ' , 'user ' , 'magazine ' , 'image ' , 'body ' , 'lang ' , 'isAdult ' , 'isPinned ' , 'comments ' , 'uv ' , 'dv ' , 'favourites ' , 'isFavourited ' , 'userVote ' , 'visibility ' , 'apId ' , 'tags ' , 'mentions ' , 'createdAt ' , 'editedAt ' , 'lastActive ' , 'slug ' , 'canAuthUserModerate ' , 'notificationStatus ' , 'bookmarks ' ];
85
- protected const POST_COMMENT_RESPONSE_KEYS = ['commentId ' , 'user ' , 'magazine ' , 'postId ' , 'parentId ' , 'rootId ' , 'image ' , 'body ' , 'lang ' , 'isAdult ' , 'uv ' , 'dv ' , 'favourites ' , 'isFavourited ' , 'userVote ' , 'visibility ' , 'apId ' , 'mentions ' , 'tags ' , 'createdAt ' , 'editedAt ' , 'lastActive ' , 'childCount ' , 'children ' , 'canAuthUserModerate ' , 'bookmarks ' ];
82
+ protected const ENTRY_RESPONSE_KEYS = ['entryId ' , 'magazine ' , 'user ' , 'domain ' , 'title ' , 'url ' , 'image ' , 'body ' , 'lang ' , 'tags ' , 'badges ' , 'numComments ' , 'uv ' , 'dv ' , 'favourites ' , 'isFavourited ' , 'userVote ' , 'isOc ' , 'isAdult ' , 'isPinned ' , 'createdAt ' , 'editedAt ' , 'lastActive ' , 'visibility ' , 'type ' , 'slug ' , 'apId ' , 'canAuthUserModerate ' , 'notificationStatus ' , 'bookmarks ' , 'crosspostedEntries ' , ' isAuthorModeratorInMagazine ' ];
83
+ protected const ENTRY_COMMENT_RESPONSE_KEYS = ['commentId ' , 'magazine ' , 'user ' , 'entryId ' , 'parentId ' , 'rootId ' , 'image ' , 'body ' , 'lang ' , 'isAdult ' , 'uv ' , 'dv ' , 'favourites ' , 'isFavourited ' , 'userVote ' , 'visibility ' , 'apId ' , 'mentions ' , 'tags ' , 'createdAt ' , 'editedAt ' , 'lastActive ' , 'childCount ' , 'children ' , 'canAuthUserModerate ' , 'bookmarks ' , ' isAuthorModeratorInMagazine ' ];
84
+ protected const POST_RESPONSE_KEYS = ['postId ' , 'user ' , 'magazine ' , 'image ' , 'body ' , 'lang ' , 'isAdult ' , 'isPinned ' , 'comments ' , 'uv ' , 'dv ' , 'favourites ' , 'isFavourited ' , 'userVote ' , 'visibility ' , 'apId ' , 'tags ' , 'mentions ' , 'createdAt ' , 'editedAt ' , 'lastActive ' , 'slug ' , 'canAuthUserModerate ' , 'notificationStatus ' , 'bookmarks ' , ' isAuthorModeratorInMagazine ' ];
85
+ protected const POST_COMMENT_RESPONSE_KEYS = ['commentId ' , 'user ' , 'magazine ' , 'postId ' , 'parentId ' , 'rootId ' , 'image ' , 'body ' , 'lang ' , 'isAdult ' , 'uv ' , 'dv ' , 'favourites ' , 'isFavourited ' , 'userVote ' , 'visibility ' , 'apId ' , 'mentions ' , 'tags ' , 'createdAt ' , 'editedAt ' , 'lastActive ' , 'childCount ' , 'children ' , 'canAuthUserModerate ' , 'bookmarks ' , ' isAuthorModeratorInMagazine ' ];
86
86
protected const BAN_RESPONSE_KEYS = ['banId ' , 'reason ' , 'expired ' , 'expiredAt ' , 'bannedUser ' , 'bannedBy ' , 'magazine ' ];
87
87
protected const LOG_ENTRY_KEYS = ['type ' , 'createdAt ' , 'magazine ' , 'moderator ' , 'subject ' ];
88
88
protected const MAGAZINE_RESPONSE_KEYS = ['magazineId ' , 'owner ' , 'icon ' , 'name ' , 'title ' , 'description ' , 'rules ' , 'subscriptionsCount ' , 'entryCount ' , 'entryCommentCount ' , 'postCount ' , 'postCommentCount ' , 'isAdult ' , 'isUserSubscribed ' , 'isBlockedByUser ' , 'tags ' , 'badges ' , 'moderators ' , 'apId ' , 'apProfileId ' , 'serverSoftware ' , 'serverSoftwareVersion ' , 'isPostingRestrictedToMods ' , 'localSubscribers ' , 'notificationStatus ' ];
0 commit comments