diff options
author | Claire <claire.github-309c@sitedethib.com> | 2024-02-01 15:56:46 +0100 |
---|---|---|
committer | Starfall <us@starfall.systems> | 2024-02-01 14:41:00 -0600 |
commit | 8f6a0c2cc87d4515ffa3be0ab8768ced5dcb5850 (patch) | |
tree | cca832f1cc0077bb8641cac74d89dbcc996350e2 /spec/services/resolve_url_service_spec.rb | |
parent | 10d676b5a82841e3739fa8921499a394e49c3303 (diff) |
Merge pull request from GHSA-3fjr-858r-92rw
* Fix insufficient origin validation * Bump version to 4.3.0-alpha.1
Diffstat (limited to 'spec/services/resolve_url_service_spec.rb')
-rw-r--r-- | spec/services/resolve_url_service_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/services/resolve_url_service_spec.rb b/spec/services/resolve_url_service_spec.rb index 3598311ee..a99660bf0 100644 --- a/spec/services/resolve_url_service_spec.rb +++ b/spec/services/resolve_url_service_spec.rb @@ -139,6 +139,7 @@ describe ResolveURLService, type: :service do stub_request(:get, url).to_return(status: 302, headers: { 'Location' => status_url }) body = ActiveModelSerializers::SerializableResource.new(status, serializer: ActivityPub::NoteSerializer, adapter: ActivityPub::Adapter).to_json stub_request(:get, status_url).to_return(body: body, headers: { 'Content-Type' => 'application/activity+json' }) + stub_request(:get, uri).to_return(body: body, headers: { 'Content-Type' => 'application/activity+json' }) end it 'returns status by url' do |