Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: throwing an APIConnectionException in case of empty response #437

Closed
wants to merge 3 commits into from

Conversation

danglotb
Copy link
Contributor

No description provided.

@thinkingserious thinkingserious changed the base branch from master to main July 28, 2020 14:39
@@ -36,6 +37,25 @@ public void setUp() throws Exception {
Twilio.init("AC123", "AUTH TOKEN");
}

@Test
public void testThrowingAPIConnectionExceptionInCaseOfEmptyResponse() throws Exception {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test would be better located in TwilioRestClientTest, as these tests are autogenerated from our backend api definitions.

@thinkingserious
Copy link
Contributor

Closing until PR feedback is addressed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants