File tree 3 files changed +4
-4
lines changed
main/scala/org/scalasteward/core/forge/azurerepos
test/scala/org/scalasteward/core/forge/azurerepos 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ private[azurerepos] object PullRequestPayload {
38
38
def from (data : NewPullRequestData ): PullRequestPayload =
39
39
PullRequestPayload (
40
40
sourceRefName = withPrefix(data.head),
41
- targetRefName = data.base.name,
41
+ targetRefName = withPrefix( data.base.name) ,
42
42
title = data.title,
43
43
labels = Option .when(data.labels.nonEmpty)(data.labels),
44
44
description = data.body
Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ class AzureReposApiAlgTest extends CatsEffectSuite with Http4sDsl[MockEff] {
209
209
title = " Update cats-effect to 3.3.14" ,
210
210
body = " Updates org.typelevel:cats-effect from 3.3.13 to 3.3.14." ,
211
211
head = " refs/heads/update/cats-effect-3.3.14" ,
212
- base = Branch (" refs/heads/ main" ),
212
+ base = Branch (" main" ),
213
213
labels = List .empty,
214
214
assignees = List .empty,
215
215
reviewers = List .empty
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ class JsonCodecTest extends FunSuite {
24
24
val expected =
25
25
json """ {
26
26
"sourceRefName" : "refs/heads/source",
27
- "targetRefName" : "main",
27
+ "targetRefName" : "refs/heads/ main",
28
28
"title" : "Test MR title",
29
29
"labels" : null,
30
30
"description" : "Test MR body"
@@ -38,7 +38,7 @@ class JsonCodecTest extends FunSuite {
38
38
val expected =
39
39
json """ {
40
40
"sourceRefName" : "refs/heads/source",
41
- "targetRefName" : "main",
41
+ "targetRefName" : "refs/heads/ main",
42
42
"title" : "Test MR title",
43
43
"labels" : [ "foo", "bar" ],
44
44
"description" : "Test MR body"
You can’t perform that action at this time.
0 commit comments