Initial graph tests

This commit is contained in:
Wyatt Johnson
2017-02-17 15:48:46 -07:00
parent fa597ca04d
commit a00befafcb
14 changed files with 337 additions and 677 deletions
+2 -1
View File
@@ -80,7 +80,8 @@ const ErrMissingToken = new APIError('token is required', {
class ErrAssetCommentingClosed extends APIError {
constructor(closedMessage = null) {
super('asset commenting is closed', {
status: 400
status: 400,
translation_key: 'COMMENTING_CLOSED'
}, {
// Include the closedMessage in the metadata piece of the error.