Drop the need for access tokens to have a session

This commit is contained in:
David Heinemeier Hansson
2025-12-02 12:19:58 +01:00
committed by Stanko K.R.
parent 660fcff558
commit 895b0e13b8
8 changed files with 1 additions and 33 deletions
@@ -1,8 +1,4 @@
require "test_helper"
class Identity::AccessTokenTest < ActiveSupport::TestCase
test "new access token comes with a session" do
access_token = identities(:david).access_tokens.create!
assert_equal "Access Token", identities(:david).sessions.last.user_agent
end
end