From 33f13f9bfd41142c32a045edcba3be0df65d24d0 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 25 Aug 2026 14:14:25 +0000 Subject: [PATCH] :bug: Fix test formatting for get-team-invitation-token AI-assisted-by: longcat-2.0 --- backend/test/backend_tests/rpc_team_test.clj | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/backend/test/backend_tests/rpc_team_test.clj b/backend/test/backend_tests/rpc_team_test.clj index 22455ce66b..bf803e57c7 100644 --- a/backend/test/backend_tests/rpc_team_test.clj +++ b/backend/test/backend_tests/rpc_team_test.clj @@ -388,7 +388,14 @@ 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" (db/insert! pool :team-invitation