From 5a334d0754b8e7879d2d615980ce6d5f8223ef6c Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Mon, 16 Jan 2012 08:02:30 -0500 Subject: [PATCH] Use pre on commit and tag pages --- tests/com/gitblit/tests/JGitUtilsTest.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/com/gitblit/tests/JGitUtilsTest.java b/tests/com/gitblit/tests/JGitUtilsTest.java index 4e85b49..7c3f8ab 100644 --- a/tests/com/gitblit/tests/JGitUtilsTest.java +++ b/tests/com/gitblit/tests/JGitUtilsTest.java @@ -217,8 +217,8 @@ public void testCreateOrphanedBranch() throws Exception { Repository repository = JGitUtils.createRepository(GitBlitSuite.REPOSITORIES, "orphantest"); assertTrue(JGitUtils.createOrphanBranch(repository, - "x" + Long.toHexString(System.currentTimeMillis()).toUpperCase())); - FileUtils.delete(repository.getDirectory(), FileUtils.RECURSIVE); + "x" + Long.toHexString(System.currentTimeMillis()).toUpperCase(), null)); + FileUtils.delete(repository.getDirectory(), FileUtils.RECURSIVE); } @Test -- Gitblit v1.9.1