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

added test for application creation using Store APIs with SSO. #329

Merged
merged 2 commits into from
Aug 18, 2015

Conversation

ruks
Copy link
Contributor

@ruks ruks commented Aug 17, 2015

added test for application creation using Store APIs with SSO.
Public Jira: https://wso2.org/jira/browse/APIMANAGER-4005

assertEquals(Response.Status.OK.getStatusCode(), response.getStatusLine().getStatusCode(),
"Response mismatch not 200");
boolean errorOccur = getResponseBody(response).contains("\"error\" : true");
assertTrue(!errorOccur, "Error on Application deletion");
Copy link
Member

Choose a reason for hiding this comment

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

Could have use assertFalse

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes. it is more meaningful.
Thanks.

nuwand added a commit that referenced this pull request Aug 18, 2015
added test for application creation using Store APIs with SSO.
@nuwand nuwand merged commit 90ae8fe into wso2:1.9.x Aug 18, 2015
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.

4 participants