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 {
5858
5959 response .getData ().forEach (x -> {
6060 try {
61+ if (x == null ) return ;
6162 UnitApplicationResponseWithIncluded app = unitApi .getApplication (x .getId (), null );
6263 assert app .getData ().getId ().equals (x .getId ());
6364 assert app .getData ().getType ().toString ().toLowerCase ()
@@ -120,6 +121,7 @@ public void ListDocumentsApiTest() throws ApiException {
120121
121122 response .getData ().forEach (x -> {
122123 try {
124+ if (x == null ) return ;
123125 List <ApplicationDocument > documents = unitApi .getApplicationDocuments (x .getId ()).getData ();
124126 documents .forEach (doc -> {
125127 assert doc .getType ().equals (ApplicationDocument .TypeEnum .DOCUMENT );
You can’t perform that action at this time.
0 commit comments