James Moger
2011-06-14 8c9a2037b5c0fed881a3ad6dd9cff364eed603d9
tests/com/gitblit/tests/GitBlitSuite.java
@@ -24,10 +24,10 @@
import org.eclipse.jgit.lib.Repository;
import org.eclipse.jgit.storage.file.FileRepository;
import com.gitblit.FileLoginService;
import com.gitblit.FileSettings;
import com.gitblit.GitBlit;
import com.gitblit.GitBlitException;
import com.gitblit.JettyLoginService;
import com.gitblit.models.RepositoryModel;
import com.gitblit.utils.JGitUtils;
@@ -72,8 +72,7 @@
   protected void setUp() throws Exception {
      FileSettings settings = new FileSettings("distrib/gitblit.properties");
      GitBlit.self().configureContext(settings);
      JettyLoginService loginService = new JettyLoginService(new File("distrib/users.properties"));
      loginService.loadUsers();
      FileLoginService loginService = new FileLoginService(new File("distrib/users.properties"));
      GitBlit.self().setLoginService(loginService);
      if (REPOSITORIES.exists() || REPOSITORIES.mkdirs()) {