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(
|
||||
"Discourse Assign | user menu | user cannot assign",
|
||||
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({
|
||||
assign_enabled: true,
|
||||
});
|
||||
|
|
@ -217,7 +220,10 @@ acceptance(
|
|||
acceptance(
|
||||
"Discourse Assign | user menu | assign_enabled setting is disabled",
|
||||
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({
|
||||
assign_enabled: false,
|
||||
});
|
||||
|
|
@ -232,6 +238,7 @@ acceptance(
|
|||
|
||||
acceptance("Discourse Assign | user menu", function (needs) {
|
||||
needs.user({
|
||||
redesigned_user_menu_enabled: true, // TODO(@keegan): Remove after site setting is removed in core
|
||||
can_assign: true,
|
||||
grouped_unread_notifications: {
|
||||
34: 173, // assigned notification type
|
||||
|
|
|
|||
Loading…
Reference in New Issue