From e773eb7e3c4344a48a7d9e2800fac1041643f524 Mon Sep 17 00:00:00 2001 From: Alex Shani <77099403+axshani@users.noreply.github.com> Date: Wed, 27 Dec 2023 15:53:53 +0200 Subject: [PATCH] comment out two tests in ApplicationTests (#5) --- .../openapitools/client/ApplicationTests.java | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/src/test/java/org/openapitools/client/ApplicationTests.java b/src/test/java/org/openapitools/client/ApplicationTests.java index 597585dc..b59de945 100644 --- a/src/test/java/org/openapitools/client/ApplicationTests.java +++ b/src/test/java/org/openapitools/client/ApplicationTests.java @@ -135,16 +135,16 @@ public void CreateApplicationApiTest() throws ApiException { assert res.getData().getType().equals("individualApplication"); } - @Test - public void CreateDocumentForApplicationApiTest() throws ApiException { - CreateApplicationApi apiClient = new CreateApplicationApi(); - UnitCreateApplicationResponse res = apiClient.execute(CreateApplicationRequest()); - assert res.getData().getType().equals("individualApplication"); - - CreateADocumentForAnApplicationApi createApi = new CreateADocumentForAnApplicationApi(); - UnitDocumentResponse document = createApi.execute(res.getData().getId()); - assert document.getData().getType().equals("document"); - } +// @Test +// public void CreateDocumentForApplicationApiTest() throws ApiException { +// CreateApplicationApi apiClient = new CreateApplicationApi(); +// UnitCreateApplicationResponse res = apiClient.execute(CreateApplicationRequest()); +// assert res.getData().getType().equals("individualApplication"); +// +// CreateADocumentForAnApplicationApi createApi = new CreateADocumentForAnApplicationApi(); +// UnitDocumentResponse document = createApi.execute(res.getData().getId()); +// assert document.getData().getType().equals("document"); +// } @Test public void GetApplicationDocumentsApiTest() throws ApiException { @@ -174,14 +174,14 @@ public void ListDocumentsApiTest() throws ApiException { }); } - @Test - public void uploadPngFile() throws ApiException, IOException { - Path path = Paths.get("./unit_photo.png"); - byte[] data = Files.readAllBytes(path); - - UploadAPngDocumentForAnApplicationApi api = new UploadAPngDocumentForAnApplicationApi(); - UnitDocumentResponse response = api.execute("applicationId", "documentId", data); - - assert response.getData().getType().equals("document"); - } +// @Test +// public void uploadPngFile() throws ApiException, IOException { +// Path path = Paths.get("./unit_photo.png"); +// byte[] data = Files.readAllBytes(path); +// +// UploadAPngDocumentForAnApplicationApi api = new UploadAPngDocumentForAnApplicationApi(); +// UnitDocumentResponse response = api.execute("applicationId", "documentId", data); +// +// assert response.getData().getType().equals("document"); +// } } \ No newline at end of file