0
0
Fork 0

Switch webpush dependency to latest version of Mastodon-maintained fork (#33572)

This commit is contained in:
Claire 2025-01-13 13:46:32 +01:00 committed by GitHub
parent 50449ae7ac
commit 68d818121d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 8 additions and 8 deletions

View file

@ -35,7 +35,7 @@ RSpec.describe Web::PushNotificationWorker do
before do
Setting.site_contact_email = contact_email
allow(Webpush::Encryption).to receive(:encrypt).and_return(payload)
allow(Webpush::Legacy::Encryption).to receive(:encrypt).and_return(payload)
allow(JWT).to receive(:encode).and_return('jwt.encoded.payload')
stub_request(:post, endpoint).to_return(status: 201, body: '')