Fix duplicate orderedItems
in user archive's outbox.json
(#31099)
This commit is contained in:
parent
161aa0f8f6
commit
13bab94265
4 changed files with 10 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue