Fix duplicate orderedItems in user archive's outbox.json (#31099)

This commit is contained in:
Claire 2024-07-22 10:56:05 +02:00
parent 161aa0f8f6
commit 13bab94265
4 changed files with 10 additions and 9 deletions

View file

@ -60,6 +60,7 @@ RSpec.describe BackupService, type: :service do
aggregate_failures do
expect(body.scan('@context').count).to eq 1
expect(body.scan('orderedItems').count).to eq 1
expect(json['@context']).to_not be_nil
expect(json['type']).to eq 'OrderedCollection'
expect(json['totalItems']).to eq 2