🐛 Fix test formatting for get-team-invitation-token

AI-assisted-by: longcat-2.0
This commit is contained in:
Andrey Antukh 2026-08-25 14:14:25 +00:00
parent 4adfa5d2f2
commit 33f13f9bfd

View File

@ -388,7 +388,14 @@
pool (:app.db/pool th/*system*)] pool (:app.db/pool th/*system*)]
(let [token (tokens/generate th/*system*)] (let [token (tokens/generate th/*system*
{:iss :team-invitation
:exp (ct/in-future "1h")
:profile-id (:id profile1)
:role :editor
:team-id (:id team)
:member-email (:email profile2)
:member-id (:id profile2)})]
(t/testing "Verify token as anonymous user" (t/testing "Verify token as anonymous user"
(db/insert! pool :team-invitation (db/insert! pool :team-invitation