Skip to content

Commit

Permalink
update tests and fixtures with format
Browse files Browse the repository at this point in the history
  • Loading branch information
charmingduchess committed Feb 28, 2025
1 parent 905f057 commit dd6ec9e
Show file tree
Hide file tree
Showing 18 changed files with 660 additions and 660 deletions.
2 changes: 1 addition & 1 deletion lib/jsonld_serializers.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ class ResourceSerializer extends JsonLdItemSerializer {
}
}
if (this.body.formatId) {
stmts.format = ResourceSerializer.getFormattedMaterialLikeType(this.body.formatId)
stmts.format = ResourceSerializer.getFormattedFormat(this.body.formatId)
delete stmts.formatId
}

Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/es-aggregations-response.json
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@
}
]
},
"recordType": {
"format": {
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0,
"buckets": [
Expand Down
Loading

0 comments on commit dd6ec9e

Please sign in to comment.