front: Fix status and body of response in fixtures for successful requests.
MODIFY
zulip_bots/zulip_bots/bots/front/fixtures/archive.json
zulip_bots/zulip_bots/bots/front/fixtures/archive.json
"status": "archived"
}
},
- "response": {
- "error": {
- "title": "Unauthenticated",
- "message": "Provided token is not a JSON Web Token"
- }
- },
+ "response": "",
"response-headers": {
- "Status": "401 Unauthorized"
+ "status": 200
}
}

MODIFY
zulip_bots/zulip_bots/bots/front/fixtures/comment.json
zulip_bots/zulip_bots/bots/front/fixtures/comment.json
"body": "@bender, I thought you were supposed to be cooking for this party."
}
},
- "response": {
- "error": {
- "title": "Unauthenticated",
- "message": "Provided token is not a JSON Web Token"
- }
- },
+ "response": "",
"response-headers": {
- "Status": "401 Unauthorized"
+ "status": 200
}
}

MODIFY
zulip_bots/zulip_bots/bots/front/fixtures/delete.json
zulip_bots/zulip_bots/bots/front/fixtures/delete.json
"status": "deleted"
}
},
- "response": {
- "error": {
- "title": "Unauthenticated",
- "message": "Provided token is not a JSON Web Token"
- }
- },
+ "response": "",
"response-headers": {
- "Status": "401 Unauthorized"
+ "status": 200
}
}

MODIFY
zulip_bots/zulip_bots/bots/front/fixtures/open.json
zulip_bots/zulip_bots/bots/front/fixtures/open.json
"status": "open"
}
},
- "response": {
- "error": {
- "title": "Unauthenticated",
- "message": "Provided token is not a JSON Web Token"
- }
- },
+ "response": "",
"response-headers": {
- "Status": "401 Unauthorized"
+ "status": 200
}
}

MODIFY
zulip_bots/zulip_bots/bots/front/fixtures/spam.json
zulip_bots/zulip_bots/bots/front/fixtures/spam.json
"status": "spam"
}
},
- "response": {
- "error": {
- "title": "Unauthenticated",
- "message": "Provided token is not a JSON Web Token"
- }
- },
+ "response": "",
"response-headers": {
- "Status": "401 Unauthorized"
+ "status": 200
}
}

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