mirror of
https://github.com/discourse/discourse.git
synced 2025-01-31 14:43:21 +08:00
DEV: Add pretender endpoint for category visible groups.
This was causing our build to become flaky.
This commit is contained in:
parent
6d2441041b
commit
f26d07c1ad
|
@ -1125,6 +1125,8 @@ export function applyDefaultHandlers(pretender) {
|
||||||
pretender.get("/tag_groups/filter/search", () =>
|
pretender.get("/tag_groups/filter/search", () =>
|
||||||
response(fixturesByUrl["/tag_groups/filter/search"])
|
response(fixturesByUrl["/tag_groups/filter/search"])
|
||||||
);
|
);
|
||||||
|
|
||||||
|
pretender.get("/c/:id/visible_groups.json", () => response({ groups: [] }));
|
||||||
}
|
}
|
||||||
|
|
||||||
export function resetPretender() {
|
export function resetPretender() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user