Skip to content

Commit

Permalink
fix: make test consistent on targetRefName
Browse files Browse the repository at this point in the history
  • Loading branch information
GreyPlane committed May 7, 2024
1 parent d8aa464 commit 9b47e52
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ class AzureReposApiAlgTest extends CatsEffectSuite with Http4sDsl[MockEff] {
title = "Update cats-effect to 3.3.14",
body = "Updates org.typelevel:cats-effect from 3.3.13 to 3.3.14.",
head = "refs/heads/update/cats-effect-3.3.14",
base = Branch("refs/heads/main"),
base = Branch("main"),
labels = List.empty,
assignees = List.empty,
reviewers = List.empty
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class JsonCodecTest extends FunSuite {
val expected =
json"""{
"sourceRefName" : "refs/heads/source",
"targetRefName" : "main",
"targetRefName" : "refs/heads/main",
"title" : "Test MR title",
"labels" : null,
"description" : "Test MR body"
Expand All @@ -38,7 +38,7 @@ class JsonCodecTest extends FunSuite {
val expected =
json"""{
"sourceRefName" : "refs/heads/source",
"targetRefName" : "main",
"targetRefName" : "refs/heads/main",
"title" : "Test MR title",
"labels" : [ "foo", "bar" ],
"description" : "Test MR body"
Expand Down

0 comments on commit 9b47e52

Please sign in to comment.