front: Fix status and body of response in fixtures for successful requests.

This commit is contained in:
novokrest 2018-06-09 22:07:09 +03:00 committed by showell
parent 100d50411f
commit 0d3189b3b0
5 changed files with 10 additions and 35 deletions

View file

@ -9,13 +9,8 @@
"status": "archived" "status": "archived"
} }
}, },
"response": { "response": "",
"error": {
"title": "Unauthenticated",
"message": "Provided token is not a JSON Web Token"
}
},
"response-headers": { "response-headers": {
"Status": "401 Unauthorized" "status": 200
} }
} }

View file

@ -10,13 +10,8 @@
"body": "@bender, I thought you were supposed to be cooking for this party." "body": "@bender, I thought you were supposed to be cooking for this party."
} }
}, },
"response": { "response": "",
"error": {
"title": "Unauthenticated",
"message": "Provided token is not a JSON Web Token"
}
},
"response-headers": { "response-headers": {
"Status": "401 Unauthorized" "status": 200
} }
} }

View file

@ -9,13 +9,8 @@
"status": "deleted" "status": "deleted"
} }
}, },
"response": { "response": "",
"error": {
"title": "Unauthenticated",
"message": "Provided token is not a JSON Web Token"
}
},
"response-headers": { "response-headers": {
"Status": "401 Unauthorized" "status": 200
} }
} }

View file

@ -9,13 +9,8 @@
"status": "open" "status": "open"
} }
}, },
"response": { "response": "",
"error": {
"title": "Unauthenticated",
"message": "Provided token is not a JSON Web Token"
}
},
"response-headers": { "response-headers": {
"Status": "401 Unauthorized" "status": 200
} }
} }

View file

@ -9,13 +9,8 @@
"status": "spam" "status": "spam"
} }
}, },
"response": { "response": "",
"error": {
"title": "Unauthenticated",
"message": "Provided token is not a JSON Web Token"
}
},
"response-headers": { "response-headers": {
"Status": "401 Unauthorized" "status": 200
} }
} }