1
0
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:
Marcus Holl 2018-09-21 11:25:19 +02:00 committed by GitHub
commit 9399588f5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -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()

View File

@ -20,9 +20,6 @@ abstract class BasePiperTest extends BasePipelineTest {
@Autowired
Script nullScript
@Autowired
GitUtils gitUtils
@Autowired
Utils utils