fix checkstyle violation

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
Lachlan Roberts 2023-08-25 15:37:40 +10:00
parent b89398d91c
commit d6320c4494
1 changed files with 2 additions and 2 deletions

View File

@ -1401,13 +1401,13 @@ public class DistributionTests extends AbstractJettyHomeTest
startHttpClient();
// Excluded path returns 403 response.
ContentResponse response = client.newRequest("http://localhost:" + httpPort +"/excludedPath")
ContentResponse response = client.newRequest("http://localhost:" + httpPort + "/excludedPath")
.timeout(15, TimeUnit.SECONDS)
.send();
assertEquals(HttpStatus.FORBIDDEN_403, response.getStatus());
// Other paths return 404 response.
response = client.newRequest("http://localhost:" + httpPort +"/path")
response = client.newRequest("http://localhost:" + httpPort + "/path")
.timeout(15, TimeUnit.SECONDS)
.send();
assertEquals(HttpStatus.NOT_FOUND_404, response.getStatus());