mirror of
https://github.com/penpot/penpot.git
synced 2026-08-27 07:09:14 +00:00
🐛 Fix test formatting for get-team-invitation-token
AI-assisted-by: longcat-2.0
This commit is contained in:
parent
4adfa5d2f2
commit
33f13f9bfd
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user