[tests-only] use new json schema assertion lib that supports latest schema drafts (#8503)
* test(api): use new json schema assertion lib that supports latest schema drafts * test(api): fix json schema * test(api): fix method call * test(api): update expected failure lines * test(api): add custom schema validator * test(api): add custom schema validator * test(api): add custom schema validator * test(api): add custom schema validator * test(api): make json array validation strict * test(api): fix php code style * test(api): update expected failure lines
This commit is contained in:
@@ -389,12 +389,12 @@ Feature: user GDPR (General Data Protection Regulation) report
|
||||
},
|
||||
"groups": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^%group_id_pattern%$"
|
||||
}
|
||||
]
|
||||
"minItems": 1,
|
||||
"maxItems": 1,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"pattern": "^%group_id_pattern%$"
|
||||
}
|
||||
},
|
||||
"uid_number": {
|
||||
"type": "number",
|
||||
@@ -672,8 +672,10 @@ Feature: user GDPR (General Data Protection Regulation) report
|
||||
"opaque_id"
|
||||
],
|
||||
"properties": {
|
||||
"type": "object",
|
||||
"pattern": "^%user_id_pattern%:%user_id_pattern%:%user_id_pattern%$"
|
||||
"opaque_id": {
|
||||
"type": "string",
|
||||
"pattern": "^%user_id_pattern%:%user_id_pattern%:%user_id_pattern%$"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Sharee": {
|
||||
|
||||
Reference in New Issue
Block a user