mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-06 13:35:44 +01:00
Fix peer review issues
This commit is contained in:
@@ -14,6 +14,7 @@ import javax.ws.rs.core.MediaType;
|
||||
import java.net.URI;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertFalse;
|
||||
|
||||
@SubjectAware(configuration = "classpath:sonia/scm/configuration/shiro.ini")
|
||||
public class GitConfigInIndexResourceTest {
|
||||
@@ -39,7 +40,6 @@ public class GitConfigInIndexResourceTest {
|
||||
|
||||
gitConfigInIndexResource.enrich(context);
|
||||
|
||||
System.out.println(root);
|
||||
assertEquals("/v2/config/git", root.get("_links").get("gitConfig").get("href").asText());
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ public class GitConfigInIndexResourceTest {
|
||||
|
||||
gitConfigInIndexResource.enrich(context);
|
||||
|
||||
System.out.println(root);
|
||||
assertFalse(root.get("_links").iterator().hasNext());
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -59,6 +59,6 @@ public class GitConfigInIndexResourceTest {
|
||||
|
||||
gitConfigInIndexResource.enrich(context);
|
||||
|
||||
System.out.println(root);
|
||||
assertFalse(root.get("_links").iterator().hasNext());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user