Skip to content

Commit 732b363

Browse files
committed
Refactor null tests for remaining residence checks
1 parent e4915d1 commit 732b363

2 files changed

Lines changed: 29 additions & 1 deletion

File tree

  • library-api/test/bdt/checks/residence

library-api/test/bdt/checks/residence/LivesInPhiladelphiaPa/Null.bru

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ post {
1313
body:json {
1414
{
1515
"situation": {
16-
"simpleChecks": null
16+
"simpleChecks": {
17+
"livesInPhiladelphiaPa": null
18+
}
1719
}
1820
}
1921
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
meta {
2+
name: Null
3+
type: http
4+
seq: 3
5+
}
6+
7+
post {
8+
url: {{host}}/checks/residence/owner-occupant
9+
body: json
10+
auth: inherit
11+
}
12+
13+
body:json {
14+
{
15+
"situation": {
16+
"simpleChecks": {
17+
"ownerOccupant": null
18+
}
19+
}
20+
}
21+
}
22+
23+
assert {
24+
res.body.checkResult: eq null
25+
res.status: eq 200
26+
}

0 commit comments

Comments
 (0)