From 0f43a54527845b5873f35dc80300d578bfe84bb0 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Fri, 13 Jan 2012 07:58:12 -0500 Subject: [PATCH] Branch for implementing distributed gb-issues --- tests/com/gitblit/tests/GitBlitSuite.java | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/tests/com/gitblit/tests/GitBlitSuite.java b/tests/com/gitblit/tests/GitBlitSuite.java index 71947e1..747ce1f 100644 --- a/tests/com/gitblit/tests/GitBlitSuite.java +++ b/tests/com/gitblit/tests/GitBlitSuite.java @@ -90,6 +90,10 @@ return new FileRepository(new File(REPOSITORIES, "test/theoretical-physics.git")); } + public static Repository getIssuesTestRepository() throws Exception { + return new FileRepository(new File(REPOSITORIES, "gb-issues.git")); + } + public static boolean startGitblit() throws Exception { if (started.get()) { // already started @@ -134,6 +138,8 @@ cloneOrFetch("test/ambition.git", "https://github.com/defunkt/ambition.git"); cloneOrFetch("test/theoretical-physics.git", "https://github.com/certik/theoretical-physics.git"); + JGitUtils.createRepository(REPOSITORIES, "gb-issues.git").close(); + enableTickets("ticgit.git"); enableDocs("ticgit.git"); showRemoteBranches("ticgit.git"); -- Gitblit v1.9.1