Skip to content

Commit

Permalink
14672 Update approval type to be required field in restoration schema
Browse files Browse the repository at this point in the history
  • Loading branch information
argush3 committed Mar 30, 2023
1 parent 4128179 commit f12ef7b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/registry_schemas/schemas/restoration.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"type": "object",
"required": [
"type",
"approvalType",
"offices",
"parties",
"contactPoint"
Expand Down
2 changes: 1 addition & 1 deletion src/registry_schemas/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
"""


__version__ = '2.18.4' # pylint: disable=invalid-name
__version__ = '2.18.5' # pylint: disable=invalid-name
1 change: 0 additions & 1 deletion tests/unit/test_restoration.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ def test_limited_restoration_extension():
restoration_json = copy.deepcopy(RESTORATION)
restoration_json['type'] = 'limitedRestorationExtension'
restoration_json['expiry'] = '2023-01-18'
del restoration_json['approvalType']
del restoration_json['nameRequest']
del restoration_json['nameTranslations']

Expand Down

0 comments on commit f12ef7b

Please sign in to comment.