Skip to content

Commit

Permalink
Update test URI
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Berezovskyi <[email protected]>
  • Loading branch information
berezovskyi committed May 23, 2023
1 parent d5c3956 commit 74fe25e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public void postInvalidOlscResource() throws IOException, URISyntaxException {
final OslcClient client = new OslcClient();
final ServiceProvider request = new ServiceProvider();
request.getExtendedProperties().put(new QName("http://example.com/ns#", "test"), "test");
Response response = client.createResource("http://example.com/resources/factory", request, OSLCConstants.CT_RDF);
Response response = client.createResource("http://open-services.net/.well-known/resource-that-should-not-exist-whose-status-code-should-not-be-200", request, OSLCConstants.CT_RDF);
assertThat(response.getStatusInfo().getFamily() != Family.SUCCESSFUL);
// assertThrows(ClientErrorException.class, () -> {
//
Expand Down

0 comments on commit 74fe25e

Please sign in to comment.