DEV: Temporarily add back `redesigned_user_menu_enabled` for tests
This commit is contained in:
parent
ef286b8d7f
commit
12003bfd2a
|
|
@ -201,7 +201,10 @@ const USER_MENU_ASSIGN_RESPONSE = {
|
||||||
acceptance(
|
acceptance(
|
||||||
"Discourse Assign | user menu | user cannot assign",
|
"Discourse Assign | user menu | user cannot assign",
|
||||||
function (needs) {
|
function (needs) {
|
||||||
needs.user({ can_assign: false });
|
needs.user({
|
||||||
|
redesigned_user_menu_enabled: true, // TODO(@keegan): Remove after site setting is removed in core
|
||||||
|
can_assign: false,
|
||||||
|
});
|
||||||
needs.settings({
|
needs.settings({
|
||||||
assign_enabled: true,
|
assign_enabled: true,
|
||||||
});
|
});
|
||||||
|
|
@ -217,7 +220,10 @@ acceptance(
|
||||||
acceptance(
|
acceptance(
|
||||||
"Discourse Assign | user menu | assign_enabled setting is disabled",
|
"Discourse Assign | user menu | assign_enabled setting is disabled",
|
||||||
function (needs) {
|
function (needs) {
|
||||||
needs.user({ can_assign: true });
|
needs.user({
|
||||||
|
redesigned_user_menu_enabled: true, // TODO(@keegan): Remove after site setting is removed in core
|
||||||
|
can_assign: false,
|
||||||
|
});
|
||||||
needs.settings({
|
needs.settings({
|
||||||
assign_enabled: false,
|
assign_enabled: false,
|
||||||
});
|
});
|
||||||
|
|
@ -232,6 +238,7 @@ acceptance(
|
||||||
|
|
||||||
acceptance("Discourse Assign | user menu", function (needs) {
|
acceptance("Discourse Assign | user menu", function (needs) {
|
||||||
needs.user({
|
needs.user({
|
||||||
|
redesigned_user_menu_enabled: true, // TODO(@keegan): Remove after site setting is removed in core
|
||||||
can_assign: true,
|
can_assign: true,
|
||||||
grouped_unread_notifications: {
|
grouped_unread_notifications: {
|
||||||
34: 173, // assigned notification type
|
34: 173, // assigned notification type
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue