{"action":"created","comment":{"url":"https://api.github.com/repos/18F/dol-whd-14c/pulls/comments/87596421","pull_request_review_id":8204824,"id":87596421,"diff_hunk":"@@ -0,0 +1,90 @@\n+describe('userLoginFormController', function() {\n+\n+    beforeEach(module('14c'));\n+\n+    beforeEach(inject(function ($rootScope, $controller, _$q_, apiService) {\n+        scope = $rootScope.$new();\n+        $q = _$q_;\n+        mockapiService = apiService;\n+        userLoginFormController = function() {\n+            return $controller('userLoginFormController', {\n+                '$scope': scope, \n+                '$route': route,\n+                'apiService': mockapiService\n+            });\n+        };\n+\n+        userLogin = $q.defer();\n+        spyOn(mockapiService, 'userLogin').and.returnValue(userLogin.promise);\n+\n+        userInfo = $q.defer();\n+        spyOn(mockapiService, 'userInfo').and.returnValue(userInfo.promise);\n+\n+    }));\n+\n+    it('invoke controller', function() {\n+        var controller = userLoginFormController();\n+    });\n+\n+    it('userLoginFormController has clearError', function() {\n+        var controller = userLoginFormController();\n+        controller.clearError();\n+    });\n+\n+    it('userLoginFormController has forgotPassword', function() {\n+        var controller = userLoginFormController();\n+        scope.forgotPassword();\n+    });\n+\n+    it('userLoginFormController has hideShowPassword', function() {\n+        var controller = userLoginFormController();\n+        scope.hideShowPassword();\n+    });\n+\n+    it('userLoginFormController has onSubmitClick', function() {\n+        var controller = userLoginFormController();\n+        scope.onSubmitClick();\n+    });\n+\n+    it('on login fails', function() {\n+        var controller = userLoginFormController();\n+\n+        scope.onSubmitClick();\n+        userLogin.reject({ data: {} });\n+        scope.$apply();\n+    });  \n+\n+    it('on login fails with pasword expired', function() {\n+        var controller = userLoginFormController();\n+\n+        scope.onSubmitClick();\n+        userLogin.reject({ data: { error_description: 'Password expired'} });","path":"DOL.WHD.Section14c.Web/src/modules/components/userLoginForm/userLoginFormController.test.js","position":61,"original_position":61,"commit_id":"4cd16419586d33523c94bfe30f91f2d8571378eb","original_commit_id":"99d306af96862dc5e24b86f9b84a5e868ef60a90","user":{"login":"MrMatt57","id":857545,"avatar_url":"https://avatars.githubusercontent.com/u/857545?v=3","gravatar_id":"","url":"https://api.github.com/users/MrMatt57","html_url":"https://github.com/MrMatt57","followers_url":"https://api.github.com/users/MrMatt57/followers","following_url":"https://api.github.com/users/MrMatt57/following{/other_user}","gists_url":"https://api.github.com/users/MrMatt57/gists{/gist_id}","starred_url":"https://api.github.com/users/MrMatt57/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrMatt57/subscriptions","organizations_url":"https://api.github.com/users/MrMatt57/orgs","repos_url":"https://api.github.com/users/MrMatt57/repos","events_url":"https://api.github.com/users/MrMatt57/events{/privacy}","received_events_url":"https://api.github.com/users/MrMatt57/received_events","type":"User","site_admin":false},"body":"refactored https://github.com/AppliedIS/dol-whd-14c/commit/574cc83ee013d2a6ceda671b222530e89f308a14","created_at":"2016-11-11T14:34:31Z","updated_at":"2016-11-11T14:34:31Z","html_url":"https://github.com/18F/dol-whd-14c/pull/88#discussion_r87596421","pull_request_url":"https://api.github.com/repos/18F/dol-whd-14c/pulls/88","_links":{"self":{"href":"https://api.github.com/repos/18F/dol-whd-14c/pulls/comments/87596421"},"html":{"href":"https://github.com/18F/dol-whd-14c/pull/88#discussion_r87596421"},"pull_request":{"href":"https://api.github.com/repos/18F/dol-whd-14c/pulls/88"}}},"pull_request":{"url":"https://api.github.com/repos/18F/dol-whd-14c/pulls/88","id":90887366,"html_url":"https://github.com/18F/dol-whd-14c/pull/88","diff_url":"https://github.com/18F/dol-whd-14c/pull/88.diff","patch_url":"https://github.com/18F/dol-whd-14c/pull/88.patch","issue_url":"https://api.github.com/repos/18F/dol-whd-14c/issues/88","number":88,"state":"open","locked":false,"title":"Release Sprint 3","user":{"login":"MrMatt57","id":857545,"avatar_url":"https://avatars.githubusercontent.com/u/857545?v=3","gravatar_id":"","url":"https://api.github.com/users/MrMatt57","html_url":"https://github.com/MrMatt57","followers_url":"https://api.github.com/users/MrMatt57/followers","following_url":"https://api.github.com/users/MrMatt57/following{/other_user}","gists_url":"https://api.github.com/users/MrMatt57/gists{/gist_id}","starred_url":"https://api.github.com/users/MrMatt57/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrMatt57/subscriptions","organizations_url":"https://api.github.com/users/MrMatt57/orgs","repos_url":"https://api.github.com/users/MrMatt57/repos","events_url":"https://api.github.com/users/MrMatt57/events{/privacy}","received_events_url":"https://api.github.com/users/MrMatt57/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-25T20:40:54Z","updated_at":"2016-11-11T14:34:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5aa8733b8b84b8fa14927b050b3da2396f252596","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/18F/dol-whd-14c/pulls/88/commits","review_comments_url":"https://api.github.com/repos/18F/dol-whd-14c/pulls/88/comments","review_comment_url":"https://api.github.com/repos/18F/dol-whd-14c/pulls/comments{/number}","comments_url":"https://api.github.com/repos/18F/dol-whd-14c/issues/88/comments","statuses_url":"https://api.github.com/repos/18F/dol-whd-14c/statuses/4cd16419586d33523c94bfe30f91f2d8571378eb","head":{"label":"AppliedIS:release-sprint3","ref":"release-sprint3","sha":"4cd16419586d33523c94bfe30f91f2d8571378eb","user":{"login":"AppliedIS","id":1774491,"avatar_url":"https://avatars.githubusercontent.com/u/1774491?v=3","gravatar_id":"","url":"https://api.github.com/users/AppliedIS","html_url":"https://github.com/AppliedIS","followers_url":"https://api.github.com/users/AppliedIS/followers","following_url":"https://api.github.com/users/AppliedIS/following{/other_user}","gists_url":"https://api.github.com/users/AppliedIS/gists{/gist_id}","starred_url":"https://api.github.com/users/AppliedIS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AppliedIS/subscriptions","organizations_url":"https://api.github.com/users/AppliedIS/orgs","repos_url":"https://api.github.com/users/AppliedIS/repos","events_url":"https://api.github.com/users/AppliedIS/events{/privacy}","received_events_url":"https://api.github.com/users/AppliedIS/received_events","type":"Organization","site_admin":false},"repo":{"id":69369799,"name":"dol-whd-14c","full_name":"AppliedIS/dol-whd-14c","owner":{"login":"AppliedIS","id":1774491,"avatar_url":"https://avatars.githubusercontent.com/u/1774491?v=3","gravatar_id":"","url":"https://api.github.com/users/AppliedIS","html_url":"https://github.com/AppliedIS","followers_url":"https://api.github.com/users/AppliedIS/followers","following_url":"https://api.github.com/users/AppliedIS/following{/other_user}","gists_url":"https://api.github.com/users/AppliedIS/gists{/gist_id}","starred_url":"https://api.github.com/users/AppliedIS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AppliedIS/subscriptions","organizations_url":"https://api.github.com/users/AppliedIS/orgs","repos_url":"https://api.github.com/users/AppliedIS/repos","events_url":"https://api.github.com/users/AppliedIS/events{/privacy}","received_events_url":"https://api.github.com/users/AppliedIS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AppliedIS/dol-whd-14c","description":null,"fork":true,"url":"https://api.github.com/repos/AppliedIS/dol-whd-14c","forks_url":"https://api.github.com/repos/AppliedIS/dol-whd-14c/forks","keys_url":"https://api.github.com/repos/AppliedIS/dol-whd-14c/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AppliedIS/dol-whd-14c/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AppliedIS/dol-whd-14c/teams","hooks_url":"https://api.github.com/repos/AppliedIS/dol-whd-14c/hooks","issue_events_url":"https://api.github.com/repos/AppliedIS/dol-whd-14c/issues/events{/number}","events_url":"https://api.github.com/repos/AppliedIS/dol-whd-14c/events","assignees_url":"https://api.github.com/repos/AppliedIS/dol-whd-14c/assignees{/user}","branches_url":"https://api.github.com/repos/AppliedIS/dol-whd-14c/branches{/branch}","tags_url":"https://api.github.com/repos/AppliedIS/dol-whd-14c/tags","blobs_url":"https://api.github.com/repos/AppliedIS/dol-whd-14c/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AppliedIS/dol-whd-14c/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AppliedIS/dol-whd-14c/git/refs{/sha}","trees_url":"https://api.github.com/repos/AppliedIS/dol-whd-14c/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AppliedIS/dol-whd-14c/statuses/{sha}","languages_url":"https://api.github.com/repos/AppliedIS/dol-whd-14c/languages","stargazers_url":"https://api.github.com/repos/AppliedIS/dol-whd-14c/stargazers","contributors_url":"https://api.github.com/repos/AppliedIS/dol-whd-14c/contributors","subscribers_url":"https://api.github.com/repos/AppliedIS/dol-whd-14c/subscribers","subscription_url":"https://api.github.com/repos/AppliedIS/dol-whd-14c/subscription","commits_url":"https://api.github.com/repos/AppliedIS/dol-whd-14c/commits{/sha}","git_commits_url":"https://api.github.com/repos/AppliedIS/dol-whd-14c/git/commits{/sha}","comments_url":"https://api.github.com/repos/AppliedIS/dol-whd-14c/comments{/number}","issue_comment_url":"https://api.github.com/repos/AppliedIS/dol-whd-14c/issues/comments{/number}","contents_url":"https://api.github.com/repos/AppliedIS/dol-whd-14c/contents/{+path}","compare_url":"https://api.github.com/repos/AppliedIS/dol-whd-14c/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AppliedIS/dol-whd-14c/merges","archive_url":"https://api.github.com/repos/AppliedIS/dol-whd-14c/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AppliedIS/dol-whd-14c/downloads","issues_url":"https://api.github.com/repos/AppliedIS/dol-whd-14c/issues{/number}","pulls_url":"https://api.github.com/repos/AppliedIS/dol-whd-14c/pulls{/number}","milestones_url":"https://api.github.com/repos/AppliedIS/dol-whd-14c/milestones{/number}","notifications_url":"https://api.github.com/repos/AppliedIS/dol-whd-14c/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AppliedIS/dol-whd-14c/labels{/name}","releases_url":"https://api.github.com/repos/AppliedIS/dol-whd-14c/releases{/id}","deployments_url":"https://api.github.com/repos/AppliedIS/dol-whd-14c/deployments","created_at":"2016-09-27T15:14:29Z","updated_at":"2016-10-25T13:23:28Z","pushed_at":"2016-11-11T14:33:00Z","git_url":"git://github.com/AppliedIS/dol-whd-14c.git","ssh_url":"git@github.com:AppliedIS/dol-whd-14c.git","clone_url":"https://github.com/AppliedIS/dol-whd-14c.git","svn_url":"https://github.com/AppliedIS/dol-whd-14c","homepage":null,"size":3242,"stargazers_count":3,"watchers_count":3,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":3,"default_branch":"master"}},"base":{"label":"18F:master","ref":"master","sha":"30ec3e423c8e74fdd3082c329132c6eb8fe1bcb2","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":68946896,"name":"dol-whd-14c","full_name":"18F/dol-whd-14c","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/dol-whd-14c","description":null,"fork":false,"url":"https://api.github.com/repos/18F/dol-whd-14c","forks_url":"https://api.github.com/repos/18F/dol-whd-14c/forks","keys_url":"https://api.github.com/repos/18F/dol-whd-14c/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/dol-whd-14c/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/dol-whd-14c/teams","hooks_url":"https://api.github.com/repos/18F/dol-whd-14c/hooks","issue_events_url":"https://api.github.com/repos/18F/dol-whd-14c/issues/events{/number}","events_url":"https://api.github.com/repos/18F/dol-whd-14c/events","assignees_url":"https://api.github.com/repos/18F/dol-whd-14c/assignees{/user}","branches_url":"https://api.github.com/repos/18F/dol-whd-14c/branches{/branch}","tags_url":"https://api.github.com/repos/18F/dol-whd-14c/tags","blobs_url":"https://api.github.com/repos/18F/dol-whd-14c/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/dol-whd-14c/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/dol-whd-14c/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/dol-whd-14c/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/dol-whd-14c/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/dol-whd-14c/languages","stargazers_url":"https://api.github.com/repos/18F/dol-whd-14c/stargazers","contributors_url":"https://api.github.com/repos/18F/dol-whd-14c/contributors","subscribers_url":"https://api.github.com/repos/18F/dol-whd-14c/subscribers","subscription_url":"https://api.github.com/repos/18F/dol-whd-14c/subscription","commits_url":"https://api.github.com/repos/18F/dol-whd-14c/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/dol-whd-14c/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/dol-whd-14c/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/dol-whd-14c/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/dol-whd-14c/contents/{+path}","compare_url":"https://api.github.com/repos/18F/dol-whd-14c/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/dol-whd-14c/merges","archive_url":"https://api.github.com/repos/18F/dol-whd-14c/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/dol-whd-14c/downloads","issues_url":"https://api.github.com/repos/18F/dol-whd-14c/issues{/number}","pulls_url":"https://api.github.com/repos/18F/dol-whd-14c/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/dol-whd-14c/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/dol-whd-14c/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/dol-whd-14c/labels{/name}","releases_url":"https://api.github.com/repos/18F/dol-whd-14c/releases{/id}","deployments_url":"https://api.github.com/repos/18F/dol-whd-14c/deployments","created_at":"2016-09-22T17:48:00Z","updated_at":"2016-10-25T20:03:04Z","pushed_at":"2016-11-10T20:35:13Z","git_url":"git://github.com/18F/dol-whd-14c.git","ssh_url":"git@github.com:18F/dol-whd-14c.git","clone_url":"https://github.com/18F/dol-whd-14c.git","svn_url":"https://github.com/18F/dol-whd-14c","homepage":null,"size":3131,"stargazers_count":5,"watchers_count":5,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":82,"forks":6,"open_issues":82,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/18F/dol-whd-14c/pulls/88"},"html":{"href":"https://github.com/18F/dol-whd-14c/pull/88"},"issue":{"href":"https://api.github.com/repos/18F/dol-whd-14c/issues/88"},"comments":{"href":"https://api.github.com/repos/18F/dol-whd-14c/issues/88/comments"},"review_comments":{"href":"https://api.github.com/repos/18F/dol-whd-14c/pulls/88/comments"},"review_comment":{"href":"https://api.github.com/repos/18F/dol-whd-14c/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/18F/dol-whd-14c/pulls/88/commits"},"statuses":{"href":"https://api.github.com/repos/18F/dol-whd-14c/statuses/4cd16419586d33523c94bfe30f91f2d8571378eb"}}}}
{"actor":{"display_login":"MrMatt57"}}