File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
main/java/unit/java/sdk/model Expand file tree Collapse file tree 2 files changed +2
-0
lines changed File renamed without changes.
Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ public void GetApplicationApiTest() throws ApiException {
58
58
59
59
response .getData ().forEach (x -> {
60
60
try {
61
+ if (x == null ) return ;
61
62
UnitApplicationResponseWithIncluded app = unitApi .getApplication (x .getId (), null );
62
63
assert app .getData ().getId ().equals (x .getId ());
63
64
assert app .getData ().getType ().toString ().toLowerCase ()
@@ -120,6 +121,7 @@ public void ListDocumentsApiTest() throws ApiException {
120
121
121
122
response .getData ().forEach (x -> {
122
123
try {
124
+ if (x == null ) return ;
123
125
List <ApplicationDocument > documents = unitApi .getApplicationDocuments (x .getId ()).getData ();
124
126
documents .forEach (doc -> {
125
127
assert doc .getType ().equals (ApplicationDocument .TypeEnum .DOCUMENT );
You can’t perform that action at this time.
0 commit comments