Skip to content

Commit 5ea345b

Browse files
committed
Update user email search results to reflect reality
1 parent 7e03295 commit 5ea345b

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

lib/resources.rb

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,23 @@ def text_html(response, status, head = {})
704704
}
705705

706706
EMAIL_SEARCH_RESULTS = {
707-
"user" => USER_SEARCH_ITEM
707+
"user" => {
708+
"public_repo_count" => 2,
709+
"public_gist_count" => 1,
710+
"followers_count" => 20,
711+
"following_count" => 0,
712+
"created" => "2009-10-05T01:32:06Z",
713+
"created_at" => "2009-10-05T01:32:06Z",
714+
"name" => "monalisa octocat",
715+
"company" => "GitHub",
716+
"blog" => "https://github.com/blog",
717+
"location" => "San Francisco",
718+
"email" => "[email protected]",
719+
"id" => 2,
720+
"login" => "octocat",
721+
"type" => "User",
722+
"gravatar_id" => "70889091349f7598bce9afa588034310",
723+
}
708724
}
709725

710726
GIST_HISTORY = {

0 commit comments

Comments
 (0)