fix(learn): issue tracker test text error message (#40301)

This commit is contained in:
Kristofer Koishigawa
2020-11-25 03:56:41 +09:00
committed by GitHub
parent 6064e827e9
commit 5a41edca1a

View File

@ -192,7 +192,7 @@ tests:
throw new Error(err.responseText || err.message);
}
}'
- text: When the `PUT` request sent to `/api/issues/{projectname}` does not include update fields, the return value is `{ error: 'no update field(s) sent', '_id': _id }`. On any other error, the return value is `{ error: 'could not update ', _id: + _id }`.
- text: When the `PUT` request sent to `/api/issues/{projectname}` does not include update fields, the return value is `{ error: 'no update field(s) sent', '_id': _id }`. On any other error, the return value is `{ error: 'could not update', '_id': _id }`.
testString: 'async getUserInput => {
try {
const url = getUserInput("url") + "/api/issues/fcc-project";