Skip to content

Commit 51f983d

Browse files
committed
make tests pass
1 parent dd004d6 commit 51f983d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test/support/github_mock.ex

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,12 @@ defmodule Algora.Support.GithubMock do
1818

1919
@impl true
2020
def get_repository(_access_token, owner, repo) do
21-
{:ok, %{"id" => random_id(), "name" => "repo_#{random_id()}", "html_url" => "https://github.com/#{owner}/#{repo}"}}
21+
{:ok,
22+
%{
23+
"id" => random_id(),
24+
"name" => repo,
25+
"html_url" => "https://github.com/#{owner}/#{repo}"
26+
}}
2227
end
2328

2429
@impl true

0 commit comments

Comments
 (0)