Add theme attribute to test user creation

This commit is contained in:
2025-11-03 20:53:54 +01:00
parent 4acba662b6
commit ab6cb47047
6 changed files with 20 additions and 0 deletions

View File

@@ -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)