mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:53:49 +08:00
FIX: js test error "Unhandled request /tag_groups"
This commit is contained in:
@ -232,6 +232,8 @@ export default function() {
|
|||||||
result.can_revert = true;
|
result.can_revert = true;
|
||||||
return response(200, {site_text: result});
|
return response(200, {site_text: result});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
this.get('/tag_groups', () => response(200, {tag_groups: []}));
|
||||||
});
|
});
|
||||||
|
|
||||||
server.prepareBody = function(body){
|
server.prepareBody = function(body){
|
||||||
|
Reference in New Issue
Block a user