Skip to content

Commit 0e50bcd

Browse files
committed
test: bind publication fixture to current branch
1 parent df9f726 commit 0e50bcd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

boatstack/publication_ignored_repro_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ func TestPublicationBypassHonorsIgnoredDeliveries(t *testing.T) {
2222
if err != nil {
2323
t.Fatal(err)
2424
}
25-
state.Slices[0].HeadBranch = "main"
25+
state.Slices[0].HeadBranch = gitOutput(repo, "branch", "--show-current")
2626
if err := saveDeliveryState(repo, state); err != nil {
2727
t.Fatal(err)
2828
}

0 commit comments

Comments
 (0)