team-telnyx / telnyx-java

Java SDK for the Telnyx API
10 stars 19 forks source link

Ovp Tests #23

Closed savy closed 3 years ago

savy commented 3 years ago

Adds Outbound Voice Profile tests that run against the mock server.

2 tests are intentionally ignored due to issues with the mock, however they work with production.

1 test (updateOutboundVoiceProfile_whenRequestIsValid_returnsUpdatedOutboundVoiceProfile) is intentionally ignored because updates to billing_group_id in production require the billing group id to already exist. Currently, the billing_group_id on the mock is hardcoded, so I don't think we can have code that will work with both the mock and production at the moment.