mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
Merge pull request #300 from marcusholl/pr/moveGitUtilsMockToGitUtilsTestClass
Remove generic gitUtils from BasePiperTest
This commit is contained in:
commit
9399588f5d
@ -19,8 +19,13 @@ import static org.junit.Assert.assertNotNull
|
||||
import static org.junit.Assert.assertNull
|
||||
import static org.junit.Assert.assertThat
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired
|
||||
|
||||
class GitUtilsTest extends BasePiperTest {
|
||||
|
||||
@Autowired
|
||||
GitUtils gitUtils
|
||||
|
||||
JenkinsShellCallRule jscr = new JenkinsShellCallRule(this)
|
||||
ExpectedException thrown = ExpectedException.none()
|
||||
|
||||
|
@ -20,9 +20,6 @@ abstract class BasePiperTest extends BasePipelineTest {
|
||||
@Autowired
|
||||
Script nullScript
|
||||
|
||||
@Autowired
|
||||
GitUtils gitUtils
|
||||
|
||||
@Autowired
|
||||
Utils utils
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user