mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-01-01 21:29:47 +01:00
Modify test to test base, not specific class
This was necessary after extracting base class.
This commit is contained in:
@@ -35,7 +35,6 @@ package sonia.scm.web;
|
||||
|
||||
//~--- non-JDK imports --------------------------------------------------------
|
||||
|
||||
import com.google.common.annotations.VisibleForTesting;
|
||||
import com.google.inject.Inject;
|
||||
import org.eclipse.jgit.http.server.resolver.DefaultReceivePackFactory;
|
||||
import org.eclipse.jgit.lib.Repository;
|
||||
@@ -73,9 +72,4 @@ public class GitReceivePackFactory extends BaseReceivePackFactory<HttpServletReq
|
||||
throws ServiceNotEnabledException, ServiceNotAuthorizedException {
|
||||
return wrapped.create(request, repository);
|
||||
}
|
||||
|
||||
@VisibleForTesting
|
||||
void setWrapped(ReceivePackFactory wrapped) {
|
||||
this.wrapped = wrapped;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user