Commit 05f056bb authored by Greg Messner's avatar Greg Messner
Browse files

Remove code that disabled logging.

parent b66a0517
...@@ -269,9 +269,6 @@ public class TestGitLabApiEvents { ...@@ -269,9 +269,6 @@ public class TestGitLabApiEvents {
@Test @Test
public void testSystemHookManagerHandleEvent() throws Exception { public void testSystemHookManagerHandleEvent() throws Exception {
// Turn off logging. This is a hack as if we don't turn it off the logging tests ran later will fail
GitLabApi.getLogger().setLevel(Level.OFF);;
// Arrange // Arrange
HttpServletRequest request = mock(HttpServletRequest.class); HttpServletRequest request = mock(HttpServletRequest.class);
given(request.getHeader("X-Gitlab-Event")).willReturn(SystemHookManager.SYSTEM_HOOK_EVENT); given(request.getHeader("X-Gitlab-Event")).willReturn(SystemHookManager.SYSTEM_HOOK_EVENT);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment