mirror of https://github.com/zulip/zulip.git
test_events: Rename functions to use dark_theme and light_theme.
This commit renames the tests for changing logo in test_events to use dark_theme and light_theme instead of night_mode and day_mode.
This commit is contained in:
parent
edccb79010
commit
a34dd11b5b
|
@ -1691,14 +1691,14 @@ class NormalActionsTest(BaseAction):
|
|||
events = self.verify_action(action, state_change_expected=True)
|
||||
check_realm_update_dict("events[0]", events[0])
|
||||
|
||||
def test_change_realm_day_mode_logo_source(self) -> None:
|
||||
def test_change_realm_light_theme_logo_source(self) -> None:
|
||||
action = lambda: do_change_logo_source(
|
||||
self.user_profile.realm, Realm.LOGO_UPLOADED, False, acting_user=self.user_profile
|
||||
)
|
||||
events = self.verify_action(action, state_change_expected=True)
|
||||
check_realm_update_dict("events[0]", events[0])
|
||||
|
||||
def test_change_realm_night_mode_logo_source(self) -> None:
|
||||
def test_change_realm_dark_theme_logo_source(self) -> None:
|
||||
action = lambda: do_change_logo_source(
|
||||
self.user_profile.realm, Realm.LOGO_UPLOADED, True, acting_user=self.user_profile
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue