Formatted project
Change-Id: I6993ddfab02e06541b4138040280a4777c719562
diff --git a/full/src/test/java/de/ids_mannheim/korap/authentication/AuthenticationFilterTest.java b/full/src/test/java/de/ids_mannheim/korap/authentication/AuthenticationFilterTest.java
index 892219b..9e6f120 100644
--- a/full/src/test/java/de/ids_mannheim/korap/authentication/AuthenticationFilterTest.java
+++ b/full/src/test/java/de/ids_mannheim/korap/authentication/AuthenticationFilterTest.java
@@ -14,12 +14,16 @@
public class AuthenticationFilterTest extends SpringJerseyTest {
@Test
- public void testAuthenticationWithUnknownScheme() throws KustvaktException {
- Response response = target().path(API_VERSION).path("search").queryParam("q", "[orth=die]").queryParam("ql", "poliqarp").request().header(Attributes.AUTHORIZATION, "Blah blah").get();
+ public void testAuthenticationWithUnknownScheme ()
+ throws KustvaktException {
+ Response response = target().path(API_VERSION).path("search")
+ .queryParam("q", "[orth=die]").queryParam("ql", "poliqarp")
+ .request().header(Attributes.AUTHORIZATION, "Blah blah").get();
String entity = response.readEntity(String.class);
JsonNode n = JsonUtils.readTree(entity);
assertEquals(n.at("/errors/0/0").asText(), "2001");
- assertEquals(n.at("/errors/0/1").asText(), "Authentication scheme is not supported.");
+ assertEquals(n.at("/errors/0/1").asText(),
+ "Authentication scheme is not supported.");
assertEquals(n.at("/errors/0/2").asText(), "Blah");
}
}