Skip to content

Commit 2f767ca

Browse files
committed
update tests
1 parent 9fac3d5 commit 2f767ca

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

test/algora/bounties_test.exs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ defmodule Algora.BountiesTest do
6363
Algora.Bounties.claim_bounty(
6464
%{
6565
user: recipient,
66+
coauthor_provider_logins: [],
6667
target_ticket_ref: ticket_ref,
6768
source_ticket_ref: ticket_ref,
6869
status: :approved,

test/support/factory.ex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ defmodule Algora.Factory do
3737
twitter_url: "https://twitter.com/erich",
3838
github_url: "https://github.com/erich",
3939
linkedin_url: "https://linkedin.com/in/erich",
40-
provider: "github"
40+
provider: "github",
41+
provider_login: sequence(:provider_login, &"erlich#{&1}")
4142
}
4243
end
4344

0 commit comments

Comments
 (0)