test: Set up Current.account to get more tests passing

this is hacky so I left a todo to come back and unwind this
This commit is contained in:
Mike Dalessio
2025-11-10 12:55:11 -05:00
parent 006aa4d6b3
commit 157708aeb8
+6
View File
@@ -44,6 +44,12 @@ module ActiveSupport
include ActiveJob::TestHelper
include ActionTextTestHelper, CardTestHelper, ChangeTestHelper, SessionTestHelper
setup do
# TODO:PLANB: this is hacky, we should sort through the `Current` dependencies and figure out
# how to set Current.user without needing both a session *and* an account
Current.account = accounts("37s")
end
end
end