Skip to content

Commit

Permalink
Merge pull request #504 from basil/guice
Browse files Browse the repository at this point in the history
Reduce usage of Guice
  • Loading branch information
jglick authored Jan 24, 2024
2 parents 83f0322 + fcc557f commit a256158
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
import java.util.stream.Collectors;
import java.util.stream.Stream;
import java.util.zip.ZipFile;
import javax.inject.Inject;
import jenkins.model.Jenkins;
import org.apache.commons.io.IOUtils;
import org.htmlunit.HttpMethod;
Expand Down Expand Up @@ -78,12 +77,11 @@ public class SupportActionTest {
@Rule
public LoggerRule logger = new LoggerRule();

@Inject
SupportAction root;
private SupportAction root;

@Before
public void setUp() {
j.jenkins.getInjector().injectMembers(this);
root = ExtensionList.lookupSingleton(SupportAction.class);
}

@Test
Expand Down

0 comments on commit a256158

Please sign in to comment.