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
Update tests that extract RDF graphs from responses to: #143
Conversation
cbeer
commented
Nov 7, 2013
- validate it receives RDF
- select an appropriate RDF serialization for the Content-Type
- consistently fetch the graph using test helpers
@awoods ? |
Is there a ticket for this? ...mostly because tickets help establish an accurate velocity. |
This falls under part of the Jersey 2.x migration (https://www.pivotaltracker.com/story/show/52200823). There isn't a stand-alone ticket, no. |
new HttpPost(txLocation + "/object-in-tx-rollback"); | ||
HttpResponse resp = execute(postNew); | ||
assertEquals(201, resp.getStatusLine().getStatusCode()); | ||
execute(new HttpPost(txLocation + "/object-in-tx-rollback")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the status-code check removed because it was failing? or is there another reason for not inspecting the HttpResponse?
Ready to go, pending minor comments. |
I can restore those checks if you want. It's not clear that we care about the response, or in what circumstances it'd actually fail. |
They are simple checks. Please feel free to re-add and commit/merge. |
Will do. |
- validate it receives RDF - select an appropriate RDF serialization for the Content-Type - consistently fetch the graph using test helpers
Done, and rebased. |
Update tests that extract RDF graphs from responses to: