Merge commit '22e2e7f02b2f25f30abd6a616bc3b0b543b30279' into glitch-soc/merge-upstream

This commit is contained in:
Claire
2025-05-06 12:06:51 +02:00
5 changed files with 27 additions and 9 deletions

View File

@@ -20,7 +20,7 @@ RSpec.describe ActivityPub::Activity::Create do
type: 'Create',
actor: ActivityPub::TagManager.instance.uri_for(sender),
object: object_json,
}.with_indifferent_access
}.deep_stringify_keys
end
before do
@@ -102,7 +102,7 @@ RSpec.describe ActivityPub::Activity::Create do
type: 'Create',
actor: ActivityPub::TagManager.instance.uri_for(sender),
object: json,
}.with_indifferent_access
}.deep_stringify_keys
end
before do
@@ -1126,7 +1126,7 @@ RSpec.describe ActivityPub::Activity::Create do
type: 'Create',
actor: ActivityPub::TagManager.instance.uri_for(sender),
object: Addressable::URI.new(scheme: 'bear', query_values: { t: token, u: object_json[:id] }).to_s,
}.with_indifferent_access
}.deep_stringify_keys
end
let(:object_json) do