Skip to content

Commit

Permalink
Fixes a test tagged as "external" that
Browse files Browse the repository at this point in the history
fails during local builds with Java 17+.

Signed-off-by: Simone Bordet <[email protected]>
  • Loading branch information
sbordet committed Oct 3, 2022
1 parent 94f4354 commit 8e63e87
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
import org.junit.jupiter.api.Test;

import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.containsString;
import static org.hamcrest.Matchers.containsStringIgnoringCase;
import static org.hamcrest.Matchers.is;

/**
Expand Down Expand Up @@ -86,6 +86,6 @@ public void testProxyRequest() throws InterruptedException, ExecutionException,
// this proxy configuration, not redirected to the actual website.
assertThat("response status", response.getStatus(), is(HttpStatus.OK_200));
// Expecting a Javadoc / APIDoc response - look for something unique for APIdoc.
assertThat("response", response.getContentAsString(), containsString("All&nbsp;Classes"));
assertThat("response", response.getContentAsString(), containsStringIgnoringCase("javadoc"));
}
}

0 comments on commit 8e63e87

Please sign in to comment.