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 487d757 commit 1b1951b
Show file tree
Hide file tree
Showing 7 changed files with 62 additions and 107 deletions.
25 changes: 0 additions & 25 deletions tests/data/valid-statements/alternative_address_edgecase2.json

This file was deleted.

19 changes: 0 additions & 19 deletions tests/data/valid-statements/alternative_address_invalid2.json

This file was deleted.

48 changes: 0 additions & 48 deletions tests/data/valid-statements/alternative_address_valid.json

This file was deleted.

27 changes: 27 additions & 0 deletions tests/data/valid-statements/publiclistingInvalid.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[
{
"statementId": "1dc0e987-5c57-4a1c-b3ad-61353b66a9b7",
"declarationSubject": "c359f58d2977",
"statementDate": "2020-03-04",
"recordId": "c359f58d2977",
"recordType": "entity",
"recordDetails": {
"isComponent": false,
"entityType": {
"type": "registeredEntity",
"publicListing": {
"hasPublicListing": false,
"securitiesListings": [
{
"stockExchangeJurisdiction": "GB",
"stockExchangeName": "London stock exchange",
"security":{
"ticker": "123"
}
}
]
}
}
}
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,9 @@
"isComponent": false,
"entityType": {
"type": "registeredEntity",
"addresses": [
{
"type": "alternative",
"address": "123"
}
]
"publicListing": {
"hasPublicListing": false
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,11 @@
"isComponent": false,
"entityType": {
"type": "registeredEntity",
"addresses": [
{
"type": "alternative",
"address": "123"
},
{
"address": "1234"
}
]
"publicListing": {
"hasPublicListing": false,
"securitiesListings": [
]
}
}
}
}
Expand Down
27 changes: 27 additions & 0 deletions tests/data/valid-statements/publiclistingValid3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[
{
"statementId": "1dc0e987-5c57-4a1c-b3ad-61353b66a9b7",
"declarationSubject": "c359f58d2977",
"statementDate": "2020-03-04",
"recordId": "c359f58d2977",
"recordType": "entity",
"recordDetails": {
"isComponent": false,
"entityType": {
"type": "registeredEntity",
"publicListing": {
"hasPublicListing": true,
"securitiesListings": [
{
"stockExchangeJurisdiction": "GB",
"stockExchangeName": "London stock exchange",
"security":{
"ticker": "123"
}
}
]
}
}
}
}
]

0 comments on commit 1b1951b

Please sign in to comment.