mirror of
https://github.com/lordmathis/lemma.git
synced 2025-11-05 15:44:21 +00:00
Add theme attribute to test user creation
This commit is contained in:
@@ -213,6 +213,7 @@ func (h *testHarness) createTestUser(t *testing.T, email, password string, role
|
||||
DisplayName: "Test User",
|
||||
PasswordHash: string(hashedPassword),
|
||||
Role: role,
|
||||
Theme: "dark",
|
||||
}
|
||||
|
||||
user, err = h.DB.CreateUser(user)
|
||||
|
||||
Reference in New Issue
Block a user