DEV: Update JS test fixtures
- `site.json` now returns a list of group objects, not a `group_names` array (a6714e25
) - `c/1/show.json` now includes `custom_fields: {}`, even if no fields exist (b8bd0316
)
This commit is contained in:
parent
50b618dd44
commit
943d8e0a97
|
@ -35,7 +35,8 @@ export default {
|
||||||
position: 25,
|
position: 25,
|
||||||
cannot_delete_reason:
|
cannot_delete_reason:
|
||||||
"Can't delete this category because it has 2030 topics. Oldest topic is <a href=\"https://localhost:3000/t/when-a-new-post-appears-in-a-topic-the-bookmark-isn-t-updated/39\">When a new post appears in a topic, the bookmark isn't updated</a>.",
|
"Can't delete this category because it has 2030 topics. Oldest topic is <a href=\"https://localhost:3000/t/when-a-new-post-appears-in-a-topic-the-bookmark-isn-t-updated/39\">When a new post appears in a topic, the bookmark isn't updated</a>.",
|
||||||
allow_badges: true
|
allow_badges: true,
|
||||||
|
custom_fields: {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -13,23 +13,16 @@ export default {
|
||||||
small_action: 3,
|
small_action: 3,
|
||||||
whisper: 4
|
whisper: 4
|
||||||
},
|
},
|
||||||
group_names: [
|
groups: [
|
||||||
"admins",
|
{ id: 1, name: "admins" },
|
||||||
"discourse",
|
{ id: 2, name: "moderators" },
|
||||||
"everyone",
|
{ id: 3, name: "staff" },
|
||||||
"mcneel",
|
{ id: 4, name: "custom_group" },
|
||||||
"moderators",
|
{ id: 10, name: "trust_level_0" },
|
||||||
"newrelic",
|
{ id: 11, name: "trust_level_1" },
|
||||||
"plugin_authors",
|
{ id: 12, name: "trust_level_2" },
|
||||||
"sitepoint",
|
{ id: 13, name: "trust_level_3" },
|
||||||
"staff",
|
{ id: 14, name: "trust_level_4" }
|
||||||
"translators",
|
|
||||||
"trust_level_0",
|
|
||||||
"trust_level_1",
|
|
||||||
"trust_level_2",
|
|
||||||
"trust_level_3",
|
|
||||||
"trust_level_4",
|
|
||||||
"ubuntu"
|
|
||||||
],
|
],
|
||||||
filters: [
|
filters: [
|
||||||
"latest",
|
"latest",
|
||||||
|
|
Loading…
Reference in New Issue