Skip to content

Commit eb643ff

Browse files
API Tests
1 parent 7029cf8 commit eb643ff

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/test/java/org/openapitools/client/api/CallsApiTest.java

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -194,20 +194,20 @@ public void createCallForbidden() throws ApiException {
194194
assertThat(exception.getCode(), is(403));
195195
}
196196

197-
@Test
198-
@Order(2)
199-
public void getCallState() throws ApiException, InterruptedException {
200-
Basic.setUsername(BW_USERNAME);
201-
Basic.setPassword(BW_PASSWORD);
202-
203-
TimeUnit.SECONDS.sleep(TEST_SLEEP);
204-
ApiResponse<CallState> response = api.getCallStateWithHttpInfo(BW_ACCOUNT_ID, callIdList.get(0));
205-
206-
assertThat(response.getStatusCode(), anyOf(is(200),is(404)));
207-
assertThat(response.getData(), hasProperty("callId", is(instanceOf(String.class))));
208-
assertThat(response.getData(), hasProperty("state", is(instanceOf(String.class))));
209-
assertThat(response.getData(), hasProperty("direction", is(CallDirectionEnum.OUTBOUND)));
210-
}
197+
// @Test
198+
// @Order(2)
199+
// public void getCallState() throws ApiException, InterruptedException {
200+
// Basic.setUsername(BW_USERNAME);
201+
// Basic.setPassword(BW_PASSWORD);
202+
203+
// TimeUnit.SECONDS.sleep(TEST_SLEEP);
204+
// ApiResponse<CallState> response = api.getCallStateWithHttpInfo(BW_ACCOUNT_ID, callIdList.get(0));
205+
206+
// assertThat(response.getStatusCode(), anyOf(is(200),is(404)));
207+
// assertThat(response.getData(), hasProperty("callId", is(instanceOf(String.class))));
208+
// assertThat(response.getData(), hasProperty("state", is(instanceOf(String.class))));
209+
// assertThat(response.getData(), hasProperty("direction", is(CallDirectionEnum.OUTBOUND)));
210+
// }
211211

212212
@Test
213213
public void getCallStateUnauthorized() throws ApiException {

0 commit comments

Comments
 (0)