Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
kathryn-ods committed Aug 14, 2024
1 parent 20cbf15 commit bdf892c
Show file tree
Hide file tree
Showing 6 changed files with 84 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/data/valid-statements/birthDate invalid.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[
{
"statementId": "019a93f1-e470-42e9-957b-03559861b2e2",
"declarationSubject": "c359f58d2977",
"statementDate": "2020-03-04",
"recordId": "10478c6cf6de",
"recordType": "person",
"recordDetails": {
"isComponent": false,
"personType": "knownPerson",
"birthDate": "2099-01-01"
}
}
]
14 changes: 14 additions & 0 deletions tests/data/valid-statements/birthDate invalid2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[
{
"statementId": "019a93f1-e470-42e9-957b-03559861b2e2",
"declarationSubject": "c359f58d2977",
"statementDate": "2020-03-04",
"recordId": "10478c6cf6de",
"recordType": "person",
"recordDetails": {
"isComponent": false,
"personType": "knownPerson",
"birthDate": "2200"
}
}
]
14 changes: 14 additions & 0 deletions tests/data/valid-statements/birthDate invalid3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[
{
"statementId": "019a93f1-e470-42e9-957b-03559861b2e2",
"declarationSubject": "c359f58d2977",
"statementDate": "2020-03-04",
"recordId": "10478c6cf6de",
"recordType": "person",
"recordDetails": {
"isComponent": false,
"personType": "knownPerson",
"birthDate": "1700"
}
}
]
14 changes: 14 additions & 0 deletions tests/data/valid-statements/birthDate invalid4.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[
{
"statementId": "019a93f1-e470-42e9-957b-03559861b2e2",
"declarationSubject": "c359f58d2977",
"statementDate": "2020-03-04",
"recordId": "10478c6cf6de",
"recordType": "person",
"recordDetails": {
"isComponent": false,
"personType": "knownPerson",
"birthDate": "1685-01"
}
}
]
14 changes: 14 additions & 0 deletions tests/data/valid-statements/birthDate valid.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[
{
"statementId": "019a93f1-e470-42e9-957b-03559861b2e2",
"declarationSubject": "c359f58d2977",
"statementDate": "2020-03-04",
"recordId": "10478c6cf6de",
"recordType": "person",
"recordDetails": {
"isComponent": false,
"personType": "knownPerson",
"birthDate": "1997"
}
}
]
14 changes: 14 additions & 0 deletions tests/data/valid-statements/birthDate valid2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[
{
"statementId": "019a93f1-e470-42e9-957b-03559861b2e2",
"declarationSubject": "c359f58d2977",
"statementDate": "2020-03-04",
"recordId": "10478c6cf6de",
"recordType": "person",
"recordDetails": {
"isComponent": false,
"personType": "knownPerson",
"birthDate": "1980-01-02"
}
}
]

0 comments on commit bdf892c

Please sign in to comment.