{"action":"created","comment":{"url":"https://api.github.com/repos/agco/passport-openam/pulls/comments/136115273","pull_request_review_id":59609450,"id":136115273,"diff_hunk":"@@ -24,14 +27,14 @@ var mockToken = 'db6e6138-3f53-4065-9610-25022a175516';\n \n // tests\n describe('Module redisOpenAM', function () {\n-    var redisDb;\n+    var redis;\n \n     before(function configRedisDb() {\n-        redisDb = Redis.createClient();\n+        redis = Redis.createClient();\n     });\n \n     beforeEach(function setupMockOptions() {\n-        redisDb.flushall();\n+        redis.flushallAsync();","path":"test/redisOpenAM.spec.js","position":27,"original_position":27,"commit_id":"4026be59ed81e0cbb5426ebbcfd1f197bf3b7248","original_commit_id":"4026be59ed81e0cbb5426ebbcfd1f197bf3b7248","user":{"login":"ssebro","id":372075,"avatar_url":"https://avatars0.githubusercontent.com/u/372075?v=4","gravatar_id":"","url":"https://api.github.com/users/ssebro","html_url":"https://github.com/ssebro","followers_url":"https://api.github.com/users/ssebro/followers","following_url":"https://api.github.com/users/ssebro/following{/other_user}","gists_url":"https://api.github.com/users/ssebro/gists{/gist_id}","starred_url":"https://api.github.com/users/ssebro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssebro/subscriptions","organizations_url":"https://api.github.com/users/ssebro/orgs","repos_url":"https://api.github.com/users/ssebro/repos","events_url":"https://api.github.com/users/ssebro/events{/privacy}","received_events_url":"https://api.github.com/users/ssebro/received_events","type":"User","site_admin":false},"body":"Or i *think* you could just return the promise. that should help.","created_at":"2017-08-30T16:08:01Z","updated_at":"2017-08-30T16:08:01Z","html_url":"https://github.com/agco/passport-openam/pull/11#discussion_r136115273","pull_request_url":"https://api.github.com/repos/agco/passport-openam/pulls/11","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/agco/passport-openam/pulls/comments/136115273"},"html":{"href":"https://github.com/agco/passport-openam/pull/11#discussion_r136115273"},"pull_request":{"href":"https://api.github.com/repos/agco/passport-openam/pulls/11"}},"in_reply_to_id":136114850},"pull_request":{"url":"https://api.github.com/repos/agco/passport-openam/pulls/11","id":138150364,"html_url":"https://github.com/agco/passport-openam/pull/11","diff_url":"https://github.com/agco/passport-openam/pull/11.diff","patch_url":"https://github.com/agco/passport-openam/pull/11.patch","issue_url":"https://api.github.com/repos/agco/passport-openam/issues/11","number":11,"state":"open","locked":false,"title":"feature/AGCMD-5297 - replaced then-redis and upgraded to node v8.4.0","user":{"login":"andreymoser","id":1140669,"avatar_url":"https://avatars3.githubusercontent.com/u/1140669?v=4","gravatar_id":"","url":"https://api.github.com/users/andreymoser","html_url":"https://github.com/andreymoser","followers_url":"https://api.github.com/users/andreymoser/followers","following_url":"https://api.github.com/users/andreymoser/following{/other_user}","gists_url":"https://api.github.com/users/andreymoser/gists{/gist_id}","starred_url":"https://api.github.com/users/andreymoser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreymoser/subscriptions","organizations_url":"https://api.github.com/users/andreymoser/orgs","repos_url":"https://api.github.com/users/andreymoser/repos","events_url":"https://api.github.com/users/andreymoser/events{/privacy}","received_events_url":"https://api.github.com/users/andreymoser/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-08-29T11:10:30Z","updated_at":"2017-08-30T16:08:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"210adfc503aad7b7dbdbfc5377d91a2984098eb4","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/agco/passport-openam/pulls/11/commits","review_comments_url":"https://api.github.com/repos/agco/passport-openam/pulls/11/comments","review_comment_url":"https://api.github.com/repos/agco/passport-openam/pulls/comments{/number}","comments_url":"https://api.github.com/repos/agco/passport-openam/issues/11/comments","statuses_url":"https://api.github.com/repos/agco/passport-openam/statuses/4026be59ed81e0cbb5426ebbcfd1f197bf3b7248","head":{"label":"agco:feature/AGCMD-5297","ref":"feature/AGCMD-5297","sha":"4026be59ed81e0cbb5426ebbcfd1f197bf3b7248","user":{"login":"agco","id":8579835,"avatar_url":"https://avatars1.githubusercontent.com/u/8579835?v=4","gravatar_id":"","url":"https://api.github.com/users/agco","html_url":"https://github.com/agco","followers_url":"https://api.github.com/users/agco/followers","following_url":"https://api.github.com/users/agco/following{/other_user}","gists_url":"https://api.github.com/users/agco/gists{/gist_id}","starred_url":"https://api.github.com/users/agco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agco/subscriptions","organizations_url":"https://api.github.com/users/agco/orgs","repos_url":"https://api.github.com/users/agco/repos","events_url":"https://api.github.com/users/agco/events{/privacy}","received_events_url":"https://api.github.com/users/agco/received_events","type":"Organization","site_admin":false},"repo":{"id":41173516,"name":"passport-openam","full_name":"agco/passport-openam","owner":{"login":"agco","id":8579835,"avatar_url":"https://avatars1.githubusercontent.com/u/8579835?v=4","gravatar_id":"","url":"https://api.github.com/users/agco","html_url":"https://github.com/agco","followers_url":"https://api.github.com/users/agco/followers","following_url":"https://api.github.com/users/agco/following{/other_user}","gists_url":"https://api.github.com/users/agco/gists{/gist_id}","starred_url":"https://api.github.com/users/agco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agco/subscriptions","organizations_url":"https://api.github.com/users/agco/orgs","repos_url":"https://api.github.com/users/agco/repos","events_url":"https://api.github.com/users/agco/events{/privacy}","received_events_url":"https://api.github.com/users/agco/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/agco/passport-openam","description":null,"fork":false,"url":"https://api.github.com/repos/agco/passport-openam","forks_url":"https://api.github.com/repos/agco/passport-openam/forks","keys_url":"https://api.github.com/repos/agco/passport-openam/keys{/key_id}","collaborators_url":"https://api.github.com/repos/agco/passport-openam/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/agco/passport-openam/teams","hooks_url":"https://api.github.com/repos/agco/passport-openam/hooks","issue_events_url":"https://api.github.com/repos/agco/passport-openam/issues/events{/number}","events_url":"https://api.github.com/repos/agco/passport-openam/events","assignees_url":"https://api.github.com/repos/agco/passport-openam/assignees{/user}","branches_url":"https://api.github.com/repos/agco/passport-openam/branches{/branch}","tags_url":"https://api.github.com/repos/agco/passport-openam/tags","blobs_url":"https://api.github.com/repos/agco/passport-openam/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/agco/passport-openam/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/agco/passport-openam/git/refs{/sha}","trees_url":"https://api.github.com/repos/agco/passport-openam/git/trees{/sha}","statuses_url":"https://api.github.com/repos/agco/passport-openam/statuses/{sha}","languages_url":"https://api.github.com/repos/agco/passport-openam/languages","stargazers_url":"https://api.github.com/repos/agco/passport-openam/stargazers","contributors_url":"https://api.github.com/repos/agco/passport-openam/contributors","subscribers_url":"https://api.github.com/repos/agco/passport-openam/subscribers","subscription_url":"https://api.github.com/repos/agco/passport-openam/subscription","commits_url":"https://api.github.com/repos/agco/passport-openam/commits{/sha}","git_commits_url":"https://api.github.com/repos/agco/passport-openam/git/commits{/sha}","comments_url":"https://api.github.com/repos/agco/passport-openam/comments{/number}","issue_comment_url":"https://api.github.com/repos/agco/passport-openam/issues/comments{/number}","contents_url":"https://api.github.com/repos/agco/passport-openam/contents/{+path}","compare_url":"https://api.github.com/repos/agco/passport-openam/compare/{base}...{head}","merges_url":"https://api.github.com/repos/agco/passport-openam/merges","archive_url":"https://api.github.com/repos/agco/passport-openam/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/agco/passport-openam/downloads","issues_url":"https://api.github.com/repos/agco/passport-openam/issues{/number}","pulls_url":"https://api.github.com/repos/agco/passport-openam/pulls{/number}","milestones_url":"https://api.github.com/repos/agco/passport-openam/milestones{/number}","notifications_url":"https://api.github.com/repos/agco/passport-openam/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/agco/passport-openam/labels{/name}","releases_url":"https://api.github.com/repos/agco/passport-openam/releases{/id}","deployments_url":"https://api.github.com/repos/agco/passport-openam/deployments","created_at":"2015-08-21T19:26:22Z","updated_at":"2016-04-08T17:01:17Z","pushed_at":"2017-08-29T11:10:30Z","git_url":"git://github.com/agco/passport-openam.git","ssh_url":"git@github.com:agco/passport-openam.git","clone_url":"https://github.com/agco/passport-openam.git","svn_url":"https://github.com/agco/passport-openam","homepage":null,"size":59,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"agco:develop","ref":"develop","sha":"b5e408e9a36e9d9ac081289dbd3484b0ffd34609","user":{"login":"agco","id":8579835,"avatar_url":"https://avatars1.githubusercontent.com/u/8579835?v=4","gravatar_id":"","url":"https://api.github.com/users/agco","html_url":"https://github.com/agco","followers_url":"https://api.github.com/users/agco/followers","following_url":"https://api.github.com/users/agco/following{/other_user}","gists_url":"https://api.github.com/users/agco/gists{/gist_id}","starred_url":"https://api.github.com/users/agco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agco/subscriptions","organizations_url":"https://api.github.com/users/agco/orgs","repos_url":"https://api.github.com/users/agco/repos","events_url":"https://api.github.com/users/agco/events{/privacy}","received_events_url":"https://api.github.com/users/agco/received_events","type":"Organization","site_admin":false},"repo":{"id":41173516,"name":"passport-openam","full_name":"agco/passport-openam","owner":{"login":"agco","id":8579835,"avatar_url":"https://avatars1.githubusercontent.com/u/8579835?v=4","gravatar_id":"","url":"https://api.github.com/users/agco","html_url":"https://github.com/agco","followers_url":"https://api.github.com/users/agco/followers","following_url":"https://api.github.com/users/agco/following{/other_user}","gists_url":"https://api.github.com/users/agco/gists{/gist_id}","starred_url":"https://api.github.com/users/agco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agco/subscriptions","organizations_url":"https://api.github.com/users/agco/orgs","repos_url":"https://api.github.com/users/agco/repos","events_url":"https://api.github.com/users/agco/events{/privacy}","received_events_url":"https://api.github.com/users/agco/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/agco/passport-openam","description":null,"fork":false,"url":"https://api.github.com/repos/agco/passport-openam","forks_url":"https://api.github.com/repos/agco/passport-openam/forks","keys_url":"https://api.github.com/repos/agco/passport-openam/keys{/key_id}","collaborators_url":"https://api.github.com/repos/agco/passport-openam/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/agco/passport-openam/teams","hooks_url":"https://api.github.com/repos/agco/passport-openam/hooks","issue_events_url":"https://api.github.com/repos/agco/passport-openam/issues/events{/number}","events_url":"https://api.github.com/repos/agco/passport-openam/events","assignees_url":"https://api.github.com/repos/agco/passport-openam/assignees{/user}","branches_url":"https://api.github.com/repos/agco/passport-openam/branches{/branch}","tags_url":"https://api.github.com/repos/agco/passport-openam/tags","blobs_url":"https://api.github.com/repos/agco/passport-openam/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/agco/passport-openam/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/agco/passport-openam/git/refs{/sha}","trees_url":"https://api.github.com/repos/agco/passport-openam/git/trees{/sha}","statuses_url":"https://api.github.com/repos/agco/passport-openam/statuses/{sha}","languages_url":"https://api.github.com/repos/agco/passport-openam/languages","stargazers_url":"https://api.github.com/repos/agco/passport-openam/stargazers","contributors_url":"https://api.github.com/repos/agco/passport-openam/contributors","subscribers_url":"https://api.github.com/repos/agco/passport-openam/subscribers","subscription_url":"https://api.github.com/repos/agco/passport-openam/subscription","commits_url":"https://api.github.com/repos/agco/passport-openam/commits{/sha}","git_commits_url":"https://api.github.com/repos/agco/passport-openam/git/commits{/sha}","comments_url":"https://api.github.com/repos/agco/passport-openam/comments{/number}","issue_comment_url":"https://api.github.com/repos/agco/passport-openam/issues/comments{/number}","contents_url":"https://api.github.com/repos/agco/passport-openam/contents/{+path}","compare_url":"https://api.github.com/repos/agco/passport-openam/compare/{base}...{head}","merges_url":"https://api.github.com/repos/agco/passport-openam/merges","archive_url":"https://api.github.com/repos/agco/passport-openam/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/agco/passport-openam/downloads","issues_url":"https://api.github.com/repos/agco/passport-openam/issues{/number}","pulls_url":"https://api.github.com/repos/agco/passport-openam/pulls{/number}","milestones_url":"https://api.github.com/repos/agco/passport-openam/milestones{/number}","notifications_url":"https://api.github.com/repos/agco/passport-openam/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/agco/passport-openam/labels{/name}","releases_url":"https://api.github.com/repos/agco/passport-openam/releases{/id}","deployments_url":"https://api.github.com/repos/agco/passport-openam/deployments","created_at":"2015-08-21T19:26:22Z","updated_at":"2016-04-08T17:01:17Z","pushed_at":"2017-08-29T11:10:30Z","git_url":"git://github.com/agco/passport-openam.git","ssh_url":"git@github.com:agco/passport-openam.git","clone_url":"https://github.com/agco/passport-openam.git","svn_url":"https://github.com/agco/passport-openam","homepage":null,"size":59,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/agco/passport-openam/pulls/11"},"html":{"href":"https://github.com/agco/passport-openam/pull/11"},"issue":{"href":"https://api.github.com/repos/agco/passport-openam/issues/11"},"comments":{"href":"https://api.github.com/repos/agco/passport-openam/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/agco/passport-openam/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/agco/passport-openam/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/agco/passport-openam/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/agco/passport-openam/statuses/4026be59ed81e0cbb5426ebbcfd1f197bf3b7248"}},"author_association":"NONE"}}
{"actor":{"display_login":"ssebro"}}