mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-14 00:08:46 +00:00
Switch webpush dependency to latest version of Mastodon-maintained fork (#33572)
This commit is contained in:
@@ -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: '')
|
||||
|
||||
Reference in New Issue
Block a user