fix: generic test emails

This commit is contained in:
2026-04-16 22:08:09 -07:00
parent 97ba736ff0
commit 6981a9a08d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ func testToken() string {
return signTestJWT(map[string]interface{}{
"sub": testUserID,
"owner": "test-org",
"email": "test@",
"email": "test@example.com",
"roles": "admin",
"isAdmin": true,
"exp": float64(time.Now().Add(time.Hour).Unix()),
+1 -1
View File
@@ -30,7 +30,7 @@ func doRequest(r chi.Router, method, path string, body interface{}) *httptest.Re
req.Header.Set("Content-Type", "application/json")
req.Header.Set("X-User-Id", "test-user-001")
req.Header.Set("X-Org-Id", "built-in")
req.Header.Set("X-User-Email", "testadmin@")
req.Header.Set("X-User-Email", "testadmin@example.com")
w := httptest.NewRecorder()
r.ServeHTTP(w, req)
return w