Skip to content

Commit

Permalink
[patch] fixing test missing git configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
robertfmurdock committed Aug 22, 2024
1 parent d09f0cc commit 2a288ef
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package tagger

import com.zegreatrob.tools.adapter.git.GitAdapter
import com.zegreatrob.tools.adapter.git.runProcess
import org.ajoberstar.grgit.Grgit
import org.ajoberstar.grgit.operation.AddOp
import org.ajoberstar.grgit.operation.BranchChangeOp
Expand Down Expand Up @@ -87,6 +88,9 @@ class TaggerPluginCalculateVersionFunctionalTest {
)
grgit.push()

runProcess(listOf("git", "config", "user.email", "[email protected]"), this.projectDir.absolutePath)
runProcess(listOf("git", "config", "user.name", "RoB as Test"), this.projectDir.absolutePath)

val runner = GradleRunner.create()
runner.forwardOutput()
runner.withPluginClasspath()
Expand Down

0 comments on commit 2a288ef

Please sign in to comment.