1
0
Fork 0
forked from gitea/nas

Make Web::PushSubscription#user and Web::PushSubscription#access_token relationships non-optional (#34498)

Co-authored-by: Emelia Smith <ThisIsMissEm@users.noreply.github.com>
This commit is contained in:
Claire 2025-04-23 10:12:31 +02:00 committed by GitHub
parent dee744c793
commit 7bc301e184
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 66 additions and 37 deletions

View file

@ -207,7 +207,8 @@ RSpec.describe 'API V1 Push Subscriptions' do
Fabricate(
:web_push_subscription,
endpoint: create_payload[:subscription][:endpoint],
access_token_id: token.id
access_token: token,
user: user
)
end
end