fix tests

This commit is contained in:
KingKDot
2026-07-21 13:57:44 -05:00
parent ff337bc36b
commit 3a05497aa3
6 changed files with 57 additions and 4 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ async function seedBrowserUsers(): Promise<void> {
for (const account of [ONBOARDING_USER, OPERATOR, VIEWER]) {
const response = await authenticatedRequest("/api/users", adminCookie, {
method: "POST",
body: JSON.stringify(account),
body: JSON.stringify({ ...account, mustChangePassword: false }),
});
if (!response.ok) {
throw new Error(`Could not seed ${account.username}: ${response.status}`);