-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* handle ci environments * make tests CI resilient * remove debug mode on gradle runner test to avoid leaking ci environments into the test env
- Loading branch information
1 parent
778dc0b
commit 380f63b
Showing
9 changed files
with
348 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
72 changes: 69 additions & 3 deletions
72
...test/kotlin/io/hndrs/gradle/plugin/git/properties/data/GitBranchPropertiesProviderTest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ class GitConfigPropertiesProviderTest : StringSpec({ | |
every { repository.config } returns mockk(relaxed = true) { | ||
every { getString("user", null, "email") } returns "[email protected]" | ||
every { getString("user", null, "name") } returns "John Smith" | ||
every { getString("remote", "origin", "url") } returns "git@github.com:hndrs/gradle-git-properties-plugin.git" | ||
every { getString("remote", "origin", "url") } returns "https://name:password@github.com/hndrs/gradle-git-properties-plugin.git" | ||
} | ||
} | ||
|
||
|
@@ -22,7 +22,7 @@ class GitConfigPropertiesProviderTest : StringSpec({ | |
underTest.get() shouldBe mapOf( | ||
"git.build.user.email" to "[email protected]", | ||
"git.build.user.name" to "John Smith", | ||
"git.remote.origin.url" to "git@github.com:hndrs/gradle-git-properties-plugin.git" | ||
"git.remote.origin.url" to "https://github.com/hndrs/gradle-git-properties-plugin.git" | ||
) | ||
} | ||
|
||
|
Oops, something went wrong.