Skip to content

Commit a7f075c

Browse files
authored
Fixed failing tests, renamed BIN.java to Bin.java (#34)
1 parent e9f25d8 commit a7f075c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/test/java/unit/java/sdk/ApplicationTests.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)