Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
motatoes committed Sep 12, 2024
1 parent 06751dd commit 2027648
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions backend/controllers/projects_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ func TestAutomergeWhenBatchIsSuccessfulStatus(t *testing.T) {
defer teardownSuite(t)
isMergeCalled := false
mockedHTTPClient := mock.NewMockedHTTPClient(
mock.WithRequestMatch(
mock.GetReposIssuesByOwnerByRepoByIssueNumber,
github.Issue{
Number: github.Int(2),
PullRequestLinks: &github.PullRequestLinks{},
}),
mock.WithRequestMatch(
mock.GetReposPullsByOwnerByRepoByPullNumber,
github.PullRequest{
Expand Down

0 comments on commit 2027648

Please sign in to comment.