diff --git a/app/assets/javascripts/discourse/tests/helpers/create-pretender.js b/app/assets/javascripts/discourse/tests/helpers/create-pretender.js index 53a45952dab..f1f284aeabd 100644 --- a/app/assets/javascripts/discourse/tests/helpers/create-pretender.js +++ b/app/assets/javascripts/discourse/tests/helpers/create-pretender.js @@ -341,20 +341,10 @@ export function applyDefaultHandlers(pretender) { }); }); - // TODO: Remove this old path when no longer using old ember - pretender.get("/post_replies", () => { - return response({ post_replies: [{ id: 1234, cooked: "wat" }] }); - }); - pretender.get("/posts/:id/replies", () => { return response([{ id: 1234, cooked: "wat", username: "somebody" }]); }); - // TODO: Remove this old path when no longer using old ember - pretender.get("/post_reply_histories", () => { - return response({ post_reply_histories: [{ id: 1234, cooked: "wat" }] }); - }); - pretender.get("/posts/:id/reply-history", () => { return response([{ id: 1234, cooked: "wat" }]); });