You've already forked hotpocket
BTHLABS-60: Appearance settings
Co-authored-by: Tomek Wójcik <labs@tomekwojcik.pl> Co-committed-by: Tomek Wójcik <labs@tomekwojcik.pl>
This commit is contained in:
@@ -16,6 +16,7 @@ from hotpocket_backend_testing.services.accounts import AccountsTestingService
|
||||
def payload():
|
||||
return {
|
||||
'theme': 'cosmo',
|
||||
'light_mode': True,
|
||||
'auto_load_embeds': 'True',
|
||||
}
|
||||
|
||||
@@ -41,7 +42,8 @@ def test_ok(authenticated_client: Client,
|
||||
AccountsTestingService().assert_settings_edited(
|
||||
pk=account.pk,
|
||||
update={
|
||||
'theme': None, # TODO: Themes!
|
||||
'theme': 'cosmo',
|
||||
'light_mode': True,
|
||||
'auto_load_embeds': True,
|
||||
},
|
||||
reference=account,
|
||||
|
||||
Reference in New Issue
Block a user