Skip to content

Commit cb06a05

Browse files
committed
fix: failing tests
1 parent 680a83b commit cb06a05

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

lib/algora/bounties/bounties.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1057,6 +1057,7 @@ defmodule Algora.Bounties do
10571057
avatar_url: o.avatar_url,
10581058
tech_stack: o.tech_stack
10591059
},
1060+
ticket_id: t.id,
10601061
ticket: %{
10611062
id: t.id,
10621063
title: t.title,

test/algora_web/controllers/webhooks/github_controller_test.exs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,12 @@ defmodule AlgoraWeb.Webhooks.GithubControllerTest do
575575
user_type: :repo_admin,
576576
body: "/bounty $100",
577577
params: %{"issue" => %{"number" => issue_number1}}
578+
},
579+
%{
580+
event_action: "issue_comment.created",
581+
user_type: :repo_admin,
582+
body: "/bounty $100",
583+
params: %{"issue" => %{"number" => issue_number2}}
578584
}
579585
])
580586

0 commit comments

Comments
 (0)