Skip to content

Commit 838f041

Browse files
committed
Fix controller test
1 parent 748069c commit 838f041

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/lib/code_corps_web/controllers/github_event_controller_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ defmodule CodeCorpsWeb.GithubEventControllerTest do
121121
@tag authenticated: :admin
122122
test "updates when the status was errored", %{conn: conn} do
123123
payload = load_event_fixture("pull_request_opened")
124-
github_event = insert(:github_event, action: "opened", payload: payload, status: "errored", type: "pull_request")
124+
github_event = insert(:github_event, action: "opened", github_delivery_id: "foo", payload: payload, status: "errored", type: "pull_request")
125125

126126
assert conn |> request_update(github_event, @valid_attrs) |> json_response(200)
127127
end

0 commit comments

Comments
 (0)