-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add tests to verify the programmatic validation of
supported_type
- Loading branch information
1 parent
d29e83c
commit 8d29371
Showing
4 changed files
with
33 additions
and
4 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
test/fixtures/files/extended_metadata_type/invalid_not_supported_type_emt.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"title": "publication", | ||
"supported_type": "Publication", | ||
"enabled": true, | ||
"attributes": [ | ||
{ | ||
"title": "title", | ||
"type": "String", | ||
"required": true | ||
}, | ||
{ | ||
"title": "DOI", | ||
"type": "DOI" | ||
} | ||
] | ||
} |
2 changes: 1 addition & 1 deletion
2
test/fixtures/files/extended_metadata_type/invalid_supported_type_emt.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters