Created
March 16, 2018 11:05
-
-
Save iamdanthedev/121e759e3c50af40d7bdece6fd745e58 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/bin/node /home/danthedev/Projects/bonliva/CRM_work/Server/tests/api-test.js | |
{"name":"AzureAD: Bearer Strategy","hostname":"danthedev-station","pid":22091,"level":40,"msg":"Production environments should always validate the issuer.","time":"2018-03-16T11:04:50.538Z","v":0} | |
Connected to Mongo | |
warn: Parser warning in file '/home/danthedev/Projects/bonliva/CRM_work/Server/documentations/index.yml': Unable to generate application/json example message body out of JSON Schemaon line 584 | |
warn: Parser warning in file '/home/danthedev/Projects/bonliva/CRM_work/Server/documentations/index.yml': Invalid content type 'application/json; charset=utf=8', invalid parameter formaton line 1013 | |
info: Beginning Dredd testing... | |
info: Found Hookfiles: 0=/home/danthedev/Projects/bonliva/CRM_work/Server/tests/api-hooks.js | |
Running transaction: | |
consultant > /consultants > Get list of contacts > 200 > application/json; charset=utf-8 | |
Number of documents inserted: 2 | |
GET /consultants 200 81.451 ms - 9118 | |
pass: GET (200) /consultants duration: 216ms | |
Running transaction: | |
consultant > /consultants > Get list of contacts > 401 > application/json; charset=utf-8 | |
skip: GET (401) /consultants | |
Running transaction: | |
consultant > /consultants > Add new contact > 200 > application/json; charset=utf-8 | |
{} | |
POST /consultants 200 47.316 ms - 198 | |
pass: POST (200) /consultants duration: 66ms | |
Running transaction: | |
consultant > /consultants > Add new contact > 400 > application/json; charset=utf-8 | |
skip: POST (400) /consultants | |
Running transaction: | |
consultant > /consultants > Add new contact > 401 > application/json; charset=utf-8 | |
skip: POST (401) /consultants | |
Running transaction: | |
consultant > /consultants/{_id} > Get full consultant info by id > 200 > application/json; charset=utf-8 | |
GET /consultants/5aaba4c564e32b5637187035 200 7.594 ms - 8454 | |
pass: GET (200) /consultants/5aaba4c564e32b5637187035 duration: 56ms | |
Running transaction: | |
consultant > /consultants/{_id} > Get full consultant info by id > 401 > application/json; charset=utf-8 | |
skip: GET (401) /consultants/123456789qwe | |
Running transaction: | |
consultant > /consultants/{_id} > Get full consultant info by id > 403 > application/json; charset=utf-8 | |
skip: GET (403) /consultants/123456789qwe | |
Running transaction: | |
consultant > /consultants/{_id} > Get full consultant info by id > 404 > application/json; charset=utf-8 | |
skip: GET (404) /consultants/123456789qwe | |
Running transaction: | |
consultant > /consultants/{_id} > Update existing consultant > 200 > application/json; charset=utf-8 | |
PUT /consultants/5aaba4d42de222564b3a7992 200 13.387 ms - 382 | |
pass: PUT (200) /consultants/5aaba4d42de222564b3a7992 duration: 24ms | |
Running transaction: | |
consultant > /consultants/{_id} > Update existing consultant > 400 > application/json; charset=utf-8 | |
skip: PUT (400) /consultants/123456789qwe | |
Running transaction: | |
consultant > /consultants/{_id} > Update existing consultant > 401 > application/json; charset=utf-8 | |
skip: PUT (401) /consultants/123456789qwe | |
Running transaction: | |
consultant > /consultants/{_id} > Update existing consultant > 403 > application/json; charset=utf-8 | |
skip: PUT (403) /consultants/123456789qwe | |
Running transaction: | |
consultant > /consultants/{_id} > Update existing consultant > 404 > application/json; charset=utf-8 | |
skip: PUT (404) /consultants/123456789qwe | |
Running transaction: | |
consultant > /consultants/{_id}/comments > Get all comments for consultant > 200 > application/json; charset=utf-8 | |
GET /consultants/5aaba4c564e32b5637187035/comments 200 5.356 ms - 5828 | |
pass: GET (200) /consultants/5aaba4c564e32b5637187035/comments duration: 85ms | |
Running transaction: | |
consultant > /consultants/{_id}/comments > Get all comments for consultant > 401 > application/json; charset=utf-8 | |
skip: GET (401) /consultants/123456789qwe/comments | |
Running transaction: | |
consultant > /consultants/{_id}/comments > Get all comments for consultant > 403 > application/json; charset=utf-8 | |
skip: GET (403) /consultants/123456789qwe/comments | |
Running transaction: | |
consultant > /consultants/{_id}/comments > Get all comments for consultant > 404 > application/json; charset=utf-8 | |
skip: GET (404) /consultants/123456789qwe/comments | |
Running transaction: | |
consultant > /consultants/{_id}/comments > Add new comment for consultant > 200 > application/json; charset=utf-8 | |
$ref: keywords ignored in schema at path "#" | |
POST /consultants/5aaba4c564e32b5637187035/comments 200 19.044 ms - 354 | |
pass: POST (200) /consultants/5aaba4c564e32b5637187035/comments duration: 41ms | |
Running transaction: | |
consultant > /consultants/{_id}/comments > Add new comment for consultant > 400 > application/json; charset=utf-8 | |
skip: POST (400) /consultants/123456789qwe/comments | |
Running transaction: | |
consultant > /consultants/{_id}/comments > Add new comment for consultant > 401 > application/json; charset=utf-8 | |
skip: POST (401) /consultants/123456789qwe/comments | |
Running transaction: | |
consultant > /consultants/{_id}/comments > Add new comment for consultant > 403 > application/json; charset=utf-8 | |
skip: POST (403) /consultants/123456789qwe/comments | |
Running transaction: | |
consultant > /consultants/{_id}/comments > Add new comment for consultant > 404 > application/json; charset=utf-8 | |
skip: POST (404) /consultants/123456789qwe/comments | |
Running transaction: | |
consultant > /consultants/{_id}/tags > Update tags for consultant > 200 > application/json; charset=utf-8 | |
PUT /consultants/5aaba4c564e32b5637187035/tags 200 22.788 ms - 8785 | |
pass: PUT (200) /consultants/5aaba4c564e32b5637187035/tags duration: 47ms | |
Running transaction: | |
consultant > /consultants/{_id}/tags > Update tags for consultant > 400 > application/json; charset=utf-8 | |
skip: PUT (400) /consultants/123456789qwe/tags | |
Running transaction: | |
consultant > /consultants/{_id}/tags > Update tags for consultant > 401 > application/json; charset=utf-8 | |
skip: PUT (401) /consultants/123456789qwe/tags | |
Running transaction: | |
consultant > /consultants/{_id}/tags > Update tags for consultant > 403 > application/json; charset=utf-8 | |
skip: PUT (403) /consultants/123456789qwe/tags | |
Running transaction: | |
consultant > /consultants/{_id}/tags > Update tags for consultant > 404 > application/json; charset=utf-8 | |
skip: PUT (404) /consultants/123456789qwe/tags | |
Running transaction: | |
consultant > /consultants/{_id}/team-tags > Get all available tag for consultant`s team > 200 > application/json; charset=utf-8 | |
GET /consultants/5aaba4c564e32b5637187035/team-tags 404 9.749 ms - 11 | |
fail: GET (200) /consultants/5aaba4c564e32b5637187035/team-tags duration: 27ms | |
fail: body: At '' Invalid type: string (expected array) | |
statusCode: Status code is not '200' | |
request: | |
method: GET | |
uri: /consultants/5aaba4c564e32b5637187035/team-tags | |
headers: | |
Content-Type: application/json | |
Accept: application/json; charset=utf-8 | |
User-Agent: Dredd/5.0.0 (Linux 4.13.0-37-generic; x64) | |
Content-Length: 0 | |
body: | |
expected: | |
headers: | |
Content-Type: application/json; charset=utf-8 | |
body: | |
[ | |
"voluptate", | |
"aliquip laborum nisi nulla" | |
] | |
statusCode: 200 | |
bodySchema: {"type":"array","items":{"type":"string"}} | |
actual: | |
statusCode: 404 | |
headers: | |
x-powered-by: Express | |
access-control-allow-origin: * | |
content-type: application/json; charset=utf-8 | |
content-length: 11 | |
date: Fri, 16 Mar 2018 11:04:52 GMT | |
connection: close | |
body: | |
"Not Found" | |
Running transaction: | |
consultant > /consultants/{_id}/team-tags > Get all available tag for consultant`s team > 401 > application/json; charset=utf-8 | |
skip: GET (401) /consultants/123456789qwe/team-tags | |
Running transaction: | |
consultant > /consultants/{_id}/team-tags > Get all available tag for consultant`s team > 403 > application/json; charset=utf-8 | |
skip: GET (403) /consultants/123456789qwe/team-tags | |
Running transaction: | |
consultant > /consultants/{_id}/team-tags > Get all available tag for consultant`s team > 404 > application/json; charset=utf-8 | |
skip: GET (404) /consultants/123456789qwe/team-tags | |
Running transaction: | |
consultant > /consultants/{_id}/weeks > Set consultant`s available weeks > 200 > application/json; charset=utf-8 | |
POST /consultants/5aaba4c564e32b5637187035/weeks 200 14.306 ms - 1146 | |
pass: GET (200) /consultants/5aaba4c564e32b5637187035/weeks duration: 30ms | |
Running transaction: | |
consultant > /consultants/{_id}/weeks > Set consultant`s available weeks > 400 > application/json; charset=utf-8 | |
skip: POST (400) /consultants/123456789qwe/weeks | |
Running transaction: | |
consultant > /consultants/{_id}/weeks > Set consultant`s available weeks > 401 > application/json; charset=utf-8 | |
skip: POST (401) /consultants/123456789qwe/weeks | |
Running transaction: | |
consultant > /consultants/{_id}/weeks > Set consultant`s available weeks > 403 > application/json; charset=utf-8 | |
skip: POST (403) /consultants/123456789qwe/weeks | |
Running transaction: | |
consultant > /consultants/{_id}/weeks > Set consultant`s available weeks > 404 > application/json; charset=utf-8 | |
skip: POST (404) /consultants/123456789qwe/weeks | |
Running transaction: | |
consultant > /consultants/{_id}/comments/{commentId} > Search comment by id and update it > 200 > application/json; charset=utf-8 | |
PUT /consultants/5aaba4c564e32b5637187035/comments/5aaba4c564e32b56371856d7 200 14.476 ms - 347 | |
pass: PUT (200) /consultants/5aaba4c564e32b5637187035/comments/5aaba4c564e32b56371856d7 duration: 39ms | |
Running transaction: | |
consultant > /consultants/{_id}/comments/{commentId} > Search comment by id and update it > 400 > application/json; charset=utf-8 | |
skip: PUT (400) /consultants/123456789qwe/comments/123456789qwe | |
Running transaction: | |
consultant > /consultants/{_id}/comments/{commentId} > Search comment by id and update it > 401 > application/json; charset=utf-8 | |
skip: PUT (401) /consultants/123456789qwe/comments/123456789qwe | |
Running transaction: | |
consultant > /consultants/{_id}/comments/{commentId} > Search comment by id and update it > 403 > application/json; charset=utf-8 | |
skip: PUT (403) /consultants/123456789qwe/comments/123456789qwe | |
Running transaction: | |
consultant > /consultants/{_id}/comments/{commentId} > Search comment by id and update it > 404 > application/json; charset=utf-8 | |
skip: PUT (404) /consultants/123456789qwe/comments/123456789qwe | |
Running transaction: | |
consultant > /consultants/{_id}/comments/{commentId} > Delete comment > 204 > application/json | |
DELETE /consultants/5aaba4c564e32b5637187035/comments/5aaba4c564e32b56371856d7 204 5.395 ms - - | |
pass: DELETE (204) /consultants/5aaba4c564e32b5637187035/comments/5aaba4c564e32b56371856d7 duration: 12ms | |
Running transaction: | |
consultant > /consultants/{_id}/comments/{commentId} > Delete comment > 401 > application/json | |
skip: DELETE (401) /consultants/123456789qwe/comments/123456789qwe | |
Running transaction: | |
consultant > /consultants/{_id}/comments/{commentId} > Delete comment > 403 > application/json | |
skip: DELETE (403) /consultants/123456789qwe/comments/123456789qwe | |
Running transaction: | |
consultant > /consultants/{_id}/comments/{commentId} > Delete comment > 404 > application/json | |
skip: DELETE (404) /consultants/123456789qwe/comments/123456789qwe | |
Running transaction: | |
customer > /customers > Get list of contacts > 200 > application/json; charset=utf-8 | |
GET /customers 200 36.438 ms - 8440 | |
pass: GET (200) /customers duration: 87ms | |
Running transaction: | |
customer > /customers > Get list of contacts > 401 > application/json; charset=utf-8 | |
skip: GET (401) /customers | |
Running transaction: | |
customer > /customers > Add new contact > 200 > application/json; charset=utf-8 | |
POST /customers 200 19.997 ms - 217 | |
pass: POST (200) /customers duration: 29ms | |
Running transaction: | |
customer > /customers > Add new contact > 400 > application/json; charset=utf-8 | |
skip: POST (400) /customers | |
Running transaction: | |
customer > /customers > Add new contact > 401 > application/json; charset=utf-8 | |
skip: POST (401) /customers | |
Running transaction: | |
customer > /customers/{_id} > Get full customer info by id > 200 > application/json; charset=utf-8 | |
GET /customers/5aaba4be64e32b5637184266 200 5.577 ms - 8570 | |
pass: GET (200) /customers/5aaba4be64e32b5637184266 duration: 35ms | |
Running transaction: | |
customer > /customers/{_id} > Get full customer info by id > 401 > application/json; charset=utf-8 | |
skip: GET (401) /customers/123456789qwe | |
Running transaction: | |
customer > /customers/{_id} > Get full customer info by id > 403 > application/json; charset=utf-8 | |
skip: GET (403) /customers/123456789qwe | |
Running transaction: | |
customer > /customers/{_id} > Get full customer info by id > 404 > application/json; charset=utf-8 | |
skip: GET (404) /customers/123456789qwe | |
Running transaction: | |
customer > /customers/{_id} > Update existing customer > 200 > application/json; charset=utf-8 | |
PUT /customers/5aaba4d52de222564b3a7996 200 7.767 ms - 183 | |
pass: PUT (200) /customers/5aaba4d52de222564b3a7996 duration: 16ms | |
Running transaction: | |
customer > /customers/{_id} > Update existing customer > 400 > application/json; charset=utf-8 | |
skip: PUT (400) /customers/123456789qwe | |
Running transaction: | |
customer > /customers/{_id} > Update existing customer > 401 > application/json; charset=utf-8 | |
skip: PUT (401) /customers/123456789qwe | |
Running transaction: | |
customer > /customers/{_id} > Update existing customer > 403 > application/json; charset=utf-8 | |
skip: PUT (403) /customers/123456789qwe | |
Running transaction: | |
customer > /customers/{_id} > Update existing customer > 404 > application/json; charset=utf-8 | |
skip: PUT (404) /customers/123456789qwe | |
Running transaction: | |
customer > /customers/{_id}/comments > Get all comments for customer > 200 > application/json; charset=utf-8 | |
GET /customers/5aaba4be64e32b5637184266/comments 200 4.508 ms - 6225 | |
pass: GET (200) /customers/5aaba4be64e32b5637184266/comments duration: 35ms | |
Running transaction: | |
customer > /customers/{_id}/comments > Get all comments for customer > 401 > application/json; charset=utf-8 | |
skip: GET (401) /customers/123456789qwe/comments | |
Running transaction: | |
customer > /customers/{_id}/comments > Get all comments for customer > 403 > application/json; charset=utf-8 | |
skip: GET (403) /customers/123456789qwe/comments | |
Running transaction: | |
customer > /customers/{_id}/comments > Get all comments for customer > 404 > application/json; charset=utf-8 | |
skip: GET (404) /customers/123456789qwe/comments | |
Running transaction: | |
customer > /customers/{_id}/comments > Add new comment for customer > 200 > application/json; charset=utf-8 | |
$ref: keywords ignored in schema at path "#" | |
POST /customers/5aaba4be64e32b5637184266/comments 200 11.909 ms - 8570 | |
pass: POST (200) /customers/5aaba4be64e32b5637184266/comments duration: 49ms | |
Running transaction: | |
customer > /customers/{_id}/comments > Add new comment for customer > 400 > application/json; charset=utf-8 | |
skip: POST (400) /customers/123456789qwe/comments | |
Running transaction: | |
customer > /customers/{_id}/comments > Add new comment for customer > 401 > application/json; charset=utf-8 | |
skip: POST (401) /customers/123456789qwe/comments | |
Running transaction: | |
customer > /customers/{_id}/comments > Add new comment for customer > 403 > application/json; charset=utf-8 | |
skip: POST (403) /customers/123456789qwe/comments | |
Running transaction: | |
customer > /customers/{_id}/comments > Add new comment for customer > 404 > application/json; charset=utf-8 | |
skip: POST (404) /customers/123456789qwe/comments | |
Running transaction: | |
customer > /customers/{_id}/tags > Update tags for customer > 200 > application/json; charset=utf-8 | |
PUT /customers/5aaba4be64e32b5637184266/tags 200 15.210 ms - 8947 | |
pass: PUT (200) /customers/5aaba4be64e32b5637184266/tags duration: 39ms | |
Running transaction: | |
customer > /customers/{_id}/tags > Update tags for customer > 400 > application/json; charset=utf-8 | |
skip: PUT (400) /customers/123456789qwe/tags | |
Running transaction: | |
customer > /customers/{_id}/tags > Update tags for customer > 401 > application/json; charset=utf-8 | |
skip: PUT (401) /customers/123456789qwe/tags | |
Running transaction: | |
customer > /customers/{_id}/tags > Update tags for customer > 403 > application/json; charset=utf-8 | |
skip: PUT (403) /customers/123456789qwe/tags | |
Running transaction: | |
customer > /customers/{_id}/tags > Update tags for customer > 404 > application/json; charset=utf-8 | |
skip: PUT (404) /customers/123456789qwe/tags | |
Running transaction: | |
customer > /customers/{_id}/team-tags > Get all available tag for customer`s team > 200 > application/json; charset=utf-8 | |
GET /customers/5aaba4be64e32b5637184266/team-tags 404 5.943 ms - 11 | |
fail: GET (200) /customers/5aaba4be64e32b5637184266/team-tags duration: 21ms | |
fail: body: At '' Invalid type: string (expected array) | |
statusCode: Status code is not '200' | |
request: | |
method: GET | |
uri: /customers/5aaba4be64e32b5637184266/team-tags | |
headers: | |
Content-Type: application/json | |
Accept: application/json; charset=utf-8 | |
User-Agent: Dredd/5.0.0 (Linux 4.13.0-37-generic; x64) | |
Content-Length: 0 | |
body: | |
expected: | |
headers: | |
Content-Type: application/json; charset=utf-8 | |
body: | |
[ | |
"qui velit in dolore cillum", | |
"sed in commodo labore", | |
"aliqua dolor", | |
"id fugiat nostrud mollit" | |
] | |
statusCode: 200 | |
bodySchema: {"type":"array","items":{"type":"string"}} | |
actual: | |
statusCode: 404 | |
headers: | |
x-powered-by: Express | |
access-control-allow-origin: * | |
content-type: application/json; charset=utf-8 | |
content-length: 11 | |
date: Fri, 16 Mar 2018 11:04:53 GMT | |
connection: close | |
body: | |
"Not Found" | |
Running transaction: | |
customer > /customers/{_id}/team-tags > Get all available tag for customer`s team > 401 > application/json; charset=utf-8 | |
skip: GET (401) /customers/123456789qwe/team-tags | |
Running transaction: | |
customer > /customers/{_id}/team-tags > Get all available tag for customer`s team > 403 > application/json; charset=utf-8 | |
skip: GET (403) /customers/123456789qwe/team-tags | |
Running transaction: | |
customer > /customers/{_id}/team-tags > Get all available tag for customer`s team > 404 > application/json; charset=utf-8 | |
skip: GET (404) /customers/123456789qwe/team-tags | |
Running transaction: | |
customer > /customers/{_id}/comments/{commentId} > Search comment by id and update it > 200 > application/json; charset=utf-8 | |
PUT /customers/5aaba4be64e32b5637184266/comments/5aaba4be64e32b56371834f8 200 16.356 ms - 356 | |
pass: PUT (200) /customers/5aaba4be64e32b5637184266/comments/5aaba4be64e32b56371834f8 duration: 37ms | |
Running transaction: | |
customer > /customers/{_id}/comments/{commentId} > Search comment by id and update it > 400 > application/json; charset=utf-8 | |
skip: PUT (400) /customers/123456789qwe/comments/123456789qwe | |
Running transaction: | |
customer > /customers/{_id}/comments/{commentId} > Search comment by id and update it > 401 > application/json; charset=utf-8 | |
skip: PUT (401) /customers/123456789qwe/comments/123456789qwe | |
Running transaction: | |
customer > /customers/{_id}/comments/{commentId} > Search comment by id and update it > 403 > application/json; charset=utf-8 | |
skip: PUT (403) /customers/123456789qwe/comments/123456789qwe | |
Running transaction: | |
customer > /customers/{_id}/comments/{commentId} > Search comment by id and update it > 404 > application/json; charset=utf-8 | |
skip: PUT (404) /customers/123456789qwe/comments/123456789qwe | |
Running transaction: | |
customer > /customers/{_id}/comments/{commentId} > Delete comment > 204 > application/json | |
DELETE /customers/5aaba4be64e32b5637184266/comments/5aaba4be64e32b56371834f8 204 5.737 ms - - | |
pass: DELETE (204) /customers/5aaba4be64e32b5637184266/comments/5aaba4be64e32b56371834f8 duration: 11ms | |
Running transaction: | |
customer > /customers/{_id}/comments/{commentId} > Delete comment > 401 > application/json | |
skip: DELETE (401) /customers/123456789qwe/comments/123456789qwe | |
Running transaction: | |
customer > /customers/{_id}/comments/{commentId} > Delete comment > 403 > application/json | |
skip: DELETE (403) /customers/123456789qwe/comments/123456789qwe | |
Running transaction: | |
customer > /customers/{_id}/comments/{commentId} > Delete comment > 404 > application/json | |
skip: DELETE (404) /customers/123456789qwe/comments/123456789qwe | |
Running transaction: | |
user > /users > GET > 200 > application/json; charset=utf-8 | |
GET /users 200 4.973 ms - 8352 | |
pass: GET (200) /users duration: 36ms | |
Running transaction: | |
user > /users > GET > 401 > application/json; charset=utf-8 | |
skip: GET (401) /users | |
Running transaction: | |
user > /users > POST > 200 > application/json; charset=utf-8 | |
POST /users 200 6.655 ms - 151 | |
pass: POST (200) /users duration: 20ms | |
Running transaction: | |
user > /users > POST > 400 > application/json; charset=utf-8 | |
skip: POST (400) /users | |
Running transaction: | |
user > /users > POST > 401 > application/json; charset=utf-8 | |
skip: POST (401) /users | |
Running transaction: | |
user > /users/{_id} > Returns user by id > 200 > application/json; charset=utf-8 | |
GET /users/5aaba4be64e32b56371834e4 200 2.720 ms - 415 | |
pass: GET (200) /users/5aaba4be64e32b56371834e4 duration: 17ms | |
Running transaction: | |
user > /users/{_id} > Returns user by id > 401 > application/json; charset=utf-8 | |
skip: GET (401) /users/123456789qwe | |
Running transaction: | |
user > /users/{_id} > Returns user by id > 403 > application/json; charset=utf-8 | |
skip: GET (403) /users/123456789qwe | |
Running transaction: | |
user > /users/{_id} > Returns user by id > 404 > application/json; charset=utf-8 | |
skip: GET (404) /users/123456789qwe | |
Running transaction: | |
user > /users/{_id} > Find user by id and update > 200 > application/json; charset=utf-8 | |
PUT /users/5aaba4be64e32b56371834e4 200 8.772 ms - 415 | |
pass: PUT (200) /users/5aaba4be64e32b56371834e4 duration: 23ms | |
Running transaction: | |
user > /users/{_id} > Find user by id and update > 400 > application/json; charset=utf-8 | |
skip: PUT (400) /users/123456789qwe | |
Running transaction: | |
user > /users/{_id} > Find user by id and update > 401 > application/json; charset=utf-8 | |
skip: PUT (401) /users/123456789qwe | |
Running transaction: | |
user > /users/{_id} > Find user by id and update > 403 > application/json; charset=utf-8 | |
skip: PUT (403) /users/123456789qwe | |
Running transaction: | |
user > /users/{_id} > Find user by id and update > 404 > application/json; charset=utf-8 | |
skip: PUT (404) /users/123456789qwe | |
Running transaction: | |
profile > /profile > GET > 200 | |
skip: GET (200) /profile | |
Running transaction: | |
profile > /profile > GET > 401 | |
skip: GET (401) /profile | |
Running transaction: | |
team > /teams > GET > 200 > application/json; charset=utf-8 | |
GET /teams 200 3.313 ms - 2 | |
pass: GET (200) /teams duration: 14ms | |
Running transaction: | |
team > /teams > GET > 401 > application/json; charset=utf-8 | |
skip: GET (401) /teams | |
Running transaction: | |
team > /teams > GET > 403 > application/json; charset=utf-8 | |
skip: GET (403) /teams | |
Running transaction: | |
team > /teams/{name} > Find team by name > 200 > application/json; charset=utf-8 | |
/home/danthedev/Projects/bonliva/CRM_work/Server/tests/api-test.js:31 | |
throw err; | |
^ | |
TypeError: Cannot read property 'Name' of null | |
at before (/home/danthedev/Projects/bonliva/CRM_work/Server/tests/hooks/teams.js:12:49) | |
at <anonymous>:null:null | |
at process._tickCallback (internal/process/next_tick.js:188:7) | |
Process finished with exit code 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment