Skip to content

Commit a598dc0

Browse files
committed
fix failing tests
1 parent d2f9a46 commit a598dc0

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

test/support/factory.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ defmodule Algora.Factory do
217217
name: "middle-out",
218218
url: "https://github.com/piedpiper/middle-out",
219219
og_image_url: "https://algora.io/asset/storage/v1/object/public/mock/piedpiper-banner.jpg",
220+
stargazers_count: 1337,
220221
provider_meta: %{}
221222
}
222223
end

test/support/github_mock.ex

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ defmodule Algora.Support.GithubMock do
4141
"html_url" => "https://github.com/#{owner}/#{repo}",
4242
"owner" => %{
4343
"login" => owner
44-
}
44+
},
45+
"stargazers_count" => 1337
4546
}}
4647
end
4748

@@ -57,7 +58,8 @@ defmodule Algora.Support.GithubMock do
5758
"html_url" => "https://github.com/#{owner}/#{name}",
5859
"owner" => %{
5960
"login" => owner
60-
}
61+
},
62+
"stargazers_count" => 1337
6163
}}
6264
end
6365

0 commit comments

Comments
 (0)