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 ae1f878 commit 7a95207
Show file tree
Hide file tree
Showing 6 changed files with 112 additions and 258 deletions.
86 changes: 0 additions & 86 deletions tests/data/valid-statements/Component Statement Invalid.json

This file was deleted.

86 changes: 0 additions & 86 deletions tests/data/valid-statements/Component Statement Invalid2.json

This file was deleted.

86 changes: 0 additions & 86 deletions tests/data/valid-statements/Component Statement Valid.json

This file was deleted.

36 changes: 36 additions & 0 deletions tests/data/valid-statements/subjectinvalid.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
[
{
"statementId": "1dc0e987-5c57-4a1c-b3ad-61353b66a9b7",
"declarationSubject": "c359f58d2977",
"statementDate": "2020-03-04",
"recordId": "c359f58d2977",
"recordType": "person",
"recordDetails": {
"isComponent": false,
"personType": "knownPerson"
}
},
{
"statementId": "019a93f1-e470-42e9-957b-03559861b2e2",
"declarationSubject": "c359f58d2977",
"statementDate": "2020-03-04",
"recordId": "10478c6cf6de",
"recordType": "person",
"recordDetails": {
"isComponent": false,
"personType": "knownPerson"
}
},
{
"statementId": "fbfd0547-d0c6-4a00-b559-5c5e91c34f5c",
"declarationSubject": "c359f58d2977",
"statementDate": "2020-03-04",
"recordId": "93b53022ae6a",
"recordType": "relationship",
"recordDetails": {
"isComponent": false,
"subject": "c359f58d2977",
"interestedParty": "10478c6cf6de"
}
}
]
38 changes: 38 additions & 0 deletions tests/data/valid-statements/subjectinvalid2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[
{
"statementId": "1dc0e987-5c57-4a1c-b3ad-61353b66a9b7",
"declarationSubject": "c359f58d2977",
"statementDate": "2020-03-04",
"recordId": "c359f58d2977",
"recordType": "entity",
"recordDetails": {
"isComponent": false,
"entityType": {
"type": "registeredEntity"
}
}
},
{
"statementId": "019a93f1-e470-42e9-957b-03559861b2e2",
"declarationSubject": "c359f58d2977",
"statementDate": "2020-03-04",
"recordId": "10478c6cf6de",
"recordType": "person",
"recordDetails": {
"isComponent": false,
"personType": "knownPerson"
}
},
{
"statementId": "fbfd0547-d0c6-4a00-b559-5c5e91c34f5c",
"declarationSubject": "c359f58d2977",
"statementDate": "2020-03-04",
"recordId": "93b53022ae6a",
"recordType": "relationship",
"recordDetails": {
"isComponent": false,
"subject": "123",
"interestedParty": "10478c6cf6de"
}
}
]
38 changes: 38 additions & 0 deletions tests/data/valid-statements/subjectvalid.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[
{
"statementId": "1dc0e987-5c57-4a1c-b3ad-61353b66a9b7",
"declarationSubject": "c359f58d2977",
"statementDate": "2020-03-04",
"recordId": "c359f58d2977",
"recordType": "entity",
"recordDetails": {
"isComponent": false,
"entityType": {
"type": "registeredEntity"
}
}
},
{
"statementId": "019a93f1-e470-42e9-957b-03559861b2e2",
"declarationSubject": "c359f58d2977",
"statementDate": "2020-03-04",
"recordId": "10478c6cf6de",
"recordType": "person",
"recordDetails": {
"isComponent": false,
"personType": "knownPerson"
}
},
{
"statementId": "fbfd0547-d0c6-4a00-b559-5c5e91c34f5c",
"declarationSubject": "c359f58d2977",
"statementDate": "2020-03-04",
"recordId": "93b53022ae6a",
"recordType": "relationship",
"recordDetails": {
"isComponent": false,
"subject": "c359f58d2977",
"interestedParty": "10478c6cf6de"
}
}
]

0 comments on commit 7a95207

Please sign in to comment.