Skip to content

Commit

Permalink
Fix tests after rebasing
Browse files Browse the repository at this point in the history
- Replace application/mdm+json with application/mauro.<modeltype>+json
- Remove fileType from DomainExportFunctionalSpec JSON - replaced with contentType
  • Loading branch information
joe-crawford committed Jun 7, 2022
1 parent 25f4dcd commit 88232b4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2894,8 +2894,7 @@ class DataModelFunctionalSpec extends ResourceFunctionalSpec<DataModel> implemen
},
"export": {
"fileName": "Complex Test DataModel.json",
"fileType": "text/json",
"contentType": "application/mdm+json",
"contentType": "application/mauro.datamodel+json",
"fileSize": "${json-unit.any-number}"
},
"exportedOn": "${json-unit.matches:offsetDateTime}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,7 @@ class DomainExportFunctionalSpec extends UserAccessWithoutUpdatingFunctionalSpec
},
"export": {
"fileName": "Complex Test DataModel.json",
"fileType": "text/json",
"contentType": "application/mdm+json",
"contentType": "application/mauro.datamodel+json",
"fileSize": "${json-unit.any-number}"
},
"exportedOn": "${json-unit.matches:offsetDateTime}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1083,8 +1083,7 @@ class DataModelFunctionalSpec extends ModelUserAccessPermissionChangingAndVersio
},
"export": {
"fileName": "Functional Test DataModel.json",
"fileType": "text/json",
"contentType": "application/mdm+json",
"contentType": "application/mauro.datamodel+json",
"fileSize": "${json-unit.any-number}"
},
"exportedOn": "${json-unit.matches:offsetDateTime}",
Expand Down

0 comments on commit 88232b4

Please sign in to comment.