{"action":"created","comment":{"url":"https://api.github.com/repos/systers/FirstAide-web/pulls/comments/130853729","pull_request_review_id":53773458,"id":130853729,"diff_hunk":"@@ -0,0 +1,44 @@\n+<?php\n+/**\n+ *\n+ * NotificationTest.php is unit test file for Notification module (modules/Notification.php).\n+ *\n+ */\n+namespace Tests\\FirstAide;\n+$APPLICATION_DIR = str_replace('tests/modules', '', dirname(__FILE__));\n+require_once $APPLICATION_DIR.'/includes/settings.php';\n+\n+/**\n+ * Importing required modules/wrappers\n+ */\n+use FirstAide\\Notification;\n+use PHPUnit\\Framework\\TestCase;\n+\n+class NotificationTest extends TestCase","path":"tests/modules/NotificationTest.php","position":17,"original_position":17,"commit_id":"a7303aabfeb81f477cff586a72a0d3da7a71cc85","original_commit_id":"a31030a655eeed1a116d5d2f2feda10af2b84f88","user":{"login":"fatimarafiqui","id":13470643,"avatar_url":"https://avatars1.githubusercontent.com/u/13470643?v=4","gravatar_id":"","url":"https://api.github.com/users/fatimarafiqui","html_url":"https://github.com/fatimarafiqui","followers_url":"https://api.github.com/users/fatimarafiqui/followers","following_url":"https://api.github.com/users/fatimarafiqui/following{/other_user}","gists_url":"https://api.github.com/users/fatimarafiqui/gists{/gist_id}","starred_url":"https://api.github.com/users/fatimarafiqui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fatimarafiqui/subscriptions","organizations_url":"https://api.github.com/users/fatimarafiqui/orgs","repos_url":"https://api.github.com/users/fatimarafiqui/repos","events_url":"https://api.github.com/users/fatimarafiqui/events{/privacy}","received_events_url":"https://api.github.com/users/fatimarafiqui/received_events","type":"User","site_admin":false},"body":"I have added all possible tests.","created_at":"2017-08-02T11:48:58Z","updated_at":"2017-08-02T11:48:58Z","html_url":"https://github.com/systers/FirstAide-web/pull/254#discussion_r130853729","pull_request_url":"https://api.github.com/repos/systers/FirstAide-web/pulls/254","_links":{"self":{"href":"https://api.github.com/repos/systers/FirstAide-web/pulls/comments/130853729"},"html":{"href":"https://github.com/systers/FirstAide-web/pull/254#discussion_r130853729"},"pull_request":{"href":"https://api.github.com/repos/systers/FirstAide-web/pulls/254"}}},"pull_request":{"url":"https://api.github.com/repos/systers/FirstAide-web/pulls/254","id":132810448,"html_url":"https://github.com/systers/FirstAide-web/pull/254","diff_url":"https://github.com/systers/FirstAide-web/pull/254.diff","patch_url":"https://github.com/systers/FirstAide-web/pull/254.patch","issue_url":"https://api.github.com/repos/systers/FirstAide-web/issues/254","number":254,"state":"open","locked":false,"title":"Notification module and Twilio integration","user":{"login":"fatimarafiqui","id":13470643,"avatar_url":"https://avatars1.githubusercontent.com/u/13470643?v=4","gravatar_id":"","url":"https://api.github.com/users/fatimarafiqui","html_url":"https://github.com/fatimarafiqui","followers_url":"https://api.github.com/users/fatimarafiqui/followers","following_url":"https://api.github.com/users/fatimarafiqui/following{/other_user}","gists_url":"https://api.github.com/users/fatimarafiqui/gists{/gist_id}","starred_url":"https://api.github.com/users/fatimarafiqui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fatimarafiqui/subscriptions","organizations_url":"https://api.github.com/users/fatimarafiqui/orgs","repos_url":"https://api.github.com/users/fatimarafiqui/repos","events_url":"https://api.github.com/users/fatimarafiqui/events{/privacy}","received_events_url":"https://api.github.com/users/fatimarafiqui/received_events","type":"User","site_admin":false},"body":"This includes the notification module for Circle of Trust and Unit tests for the same module.\r\n![notifica](https://user-images.githubusercontent.com/13470643/28689607-cc8cd8b6-7333-11e7-8c34-44652a3f81b0.gif)\r\n\r\n![notification](https://user-images.githubusercontent.com/13470643/28689392-1d7db8fe-7333-11e7-94d6-e2aa512311ff.jpg)\r\n","created_at":"2017-07-27T18:05:30Z","updated_at":"2017-08-02T11:48:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9fe9d34c9bb6b053d51cccd96a0173fe9a3bf39e","assignee":{"login":"fatimarafiqui","id":13470643,"avatar_url":"https://avatars1.githubusercontent.com/u/13470643?v=4","gravatar_id":"","url":"https://api.github.com/users/fatimarafiqui","html_url":"https://github.com/fatimarafiqui","followers_url":"https://api.github.com/users/fatimarafiqui/followers","following_url":"https://api.github.com/users/fatimarafiqui/following{/other_user}","gists_url":"https://api.github.com/users/fatimarafiqui/gists{/gist_id}","starred_url":"https://api.github.com/users/fatimarafiqui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fatimarafiqui/subscriptions","organizations_url":"https://api.github.com/users/fatimarafiqui/orgs","repos_url":"https://api.github.com/users/fatimarafiqui/repos","events_url":"https://api.github.com/users/fatimarafiqui/events{/privacy}","received_events_url":"https://api.github.com/users/fatimarafiqui/received_events","type":"User","site_admin":false},"assignees":[{"login":"fatimarafiqui","id":13470643,"avatar_url":"https://avatars1.githubusercontent.com/u/13470643?v=4","gravatar_id":"","url":"https://api.github.com/users/fatimarafiqui","html_url":"https://github.com/fatimarafiqui","followers_url":"https://api.github.com/users/fatimarafiqui/followers","following_url":"https://api.github.com/users/fatimarafiqui/following{/other_user}","gists_url":"https://api.github.com/users/fatimarafiqui/gists{/gist_id}","starred_url":"https://api.github.com/users/fatimarafiqui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fatimarafiqui/subscriptions","organizations_url":"https://api.github.com/users/fatimarafiqui/orgs","repos_url":"https://api.github.com/users/fatimarafiqui/repos","events_url":"https://api.github.com/users/fatimarafiqui/events{/privacy}","received_events_url":"https://api.github.com/users/fatimarafiqui/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/systers/FirstAide-web/pulls/254/commits","review_comments_url":"https://api.github.com/repos/systers/FirstAide-web/pulls/254/comments","review_comment_url":"https://api.github.com/repos/systers/FirstAide-web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/systers/FirstAide-web/issues/254/comments","statuses_url":"https://api.github.com/repos/systers/FirstAide-web/statuses/a7303aabfeb81f477cff586a72a0d3da7a71cc85","head":{"label":"fatimarafiqui:wip/notification_module","ref":"wip/notification_module","sha":"a7303aabfeb81f477cff586a72a0d3da7a71cc85","user":{"login":"fatimarafiqui","id":13470643,"avatar_url":"https://avatars1.githubusercontent.com/u/13470643?v=4","gravatar_id":"","url":"https://api.github.com/users/fatimarafiqui","html_url":"https://github.com/fatimarafiqui","followers_url":"https://api.github.com/users/fatimarafiqui/followers","following_url":"https://api.github.com/users/fatimarafiqui/following{/other_user}","gists_url":"https://api.github.com/users/fatimarafiqui/gists{/gist_id}","starred_url":"https://api.github.com/users/fatimarafiqui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fatimarafiqui/subscriptions","organizations_url":"https://api.github.com/users/fatimarafiqui/orgs","repos_url":"https://api.github.com/users/fatimarafiqui/repos","events_url":"https://api.github.com/users/fatimarafiqui/events{/privacy}","received_events_url":"https://api.github.com/users/fatimarafiqui/received_events","type":"User","site_admin":false},"repo":{"id":80338918,"name":"FirstAide-web","full_name":"fatimarafiqui/FirstAide-web","owner":{"login":"fatimarafiqui","id":13470643,"avatar_url":"https://avatars1.githubusercontent.com/u/13470643?v=4","gravatar_id":"","url":"https://api.github.com/users/fatimarafiqui","html_url":"https://github.com/fatimarafiqui","followers_url":"https://api.github.com/users/fatimarafiqui/followers","following_url":"https://api.github.com/users/fatimarafiqui/following{/other_user}","gists_url":"https://api.github.com/users/fatimarafiqui/gists{/gist_id}","starred_url":"https://api.github.com/users/fatimarafiqui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fatimarafiqui/subscriptions","organizations_url":"https://api.github.com/users/fatimarafiqui/orgs","repos_url":"https://api.github.com/users/fatimarafiqui/repos","events_url":"https://api.github.com/users/fatimarafiqui/events{/privacy}","received_events_url":"https://api.github.com/users/fatimarafiqui/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fatimarafiqui/FirstAide-web","description":null,"fork":true,"url":"https://api.github.com/repos/fatimarafiqui/FirstAide-web","forks_url":"https://api.github.com/repos/fatimarafiqui/FirstAide-web/forks","keys_url":"https://api.github.com/repos/fatimarafiqui/FirstAide-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fatimarafiqui/FirstAide-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fatimarafiqui/FirstAide-web/teams","hooks_url":"https://api.github.com/repos/fatimarafiqui/FirstAide-web/hooks","issue_events_url":"https://api.github.com/repos/fatimarafiqui/FirstAide-web/issues/events{/number}","events_url":"https://api.github.com/repos/fatimarafiqui/FirstAide-web/events","assignees_url":"https://api.github.com/repos/fatimarafiqui/FirstAide-web/assignees{/user}","branches_url":"https://api.github.com/repos/fatimarafiqui/FirstAide-web/branches{/branch}","tags_url":"https://api.github.com/repos/fatimarafiqui/FirstAide-web/tags","blobs_url":"https://api.github.com/repos/fatimarafiqui/FirstAide-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fatimarafiqui/FirstAide-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fatimarafiqui/FirstAide-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/fatimarafiqui/FirstAide-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fatimarafiqui/FirstAide-web/statuses/{sha}","languages_url":"https://api.github.com/repos/fatimarafiqui/FirstAide-web/languages","stargazers_url":"https://api.github.com/repos/fatimarafiqui/FirstAide-web/stargazers","contributors_url":"https://api.github.com/repos/fatimarafiqui/FirstAide-web/contributors","subscribers_url":"https://api.github.com/repos/fatimarafiqui/FirstAide-web/subscribers","subscription_url":"https://api.github.com/repos/fatimarafiqui/FirstAide-web/subscription","commits_url":"https://api.github.com/repos/fatimarafiqui/FirstAide-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/fatimarafiqui/FirstAide-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/fatimarafiqui/FirstAide-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/fatimarafiqui/FirstAide-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/fatimarafiqui/FirstAide-web/contents/{+path}","compare_url":"https://api.github.com/repos/fatimarafiqui/FirstAide-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fatimarafiqui/FirstAide-web/merges","archive_url":"https://api.github.com/repos/fatimarafiqui/FirstAide-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fatimarafiqui/FirstAide-web/downloads","issues_url":"https://api.github.com/repos/fatimarafiqui/FirstAide-web/issues{/number}","pulls_url":"https://api.github.com/repos/fatimarafiqui/FirstAide-web/pulls{/number}","milestones_url":"https://api.github.com/repos/fatimarafiqui/FirstAide-web/milestones{/number}","notifications_url":"https://api.github.com/repos/fatimarafiqui/FirstAide-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fatimarafiqui/FirstAide-web/labels{/name}","releases_url":"https://api.github.com/repos/fatimarafiqui/FirstAide-web/releases{/id}","deployments_url":"https://api.github.com/repos/fatimarafiqui/FirstAide-web/deployments","created_at":"2017-01-29T09:54:53Z","updated_at":"2017-06-09T17:23:11Z","pushed_at":"2017-08-02T11:33:17Z","git_url":"git://github.com/fatimarafiqui/FirstAide-web.git","ssh_url":"git@github.com:fatimarafiqui/FirstAide-web.git","clone_url":"https://github.com/fatimarafiqui/FirstAide-web.git","svn_url":"https://github.com/fatimarafiqui/FirstAide-web","homepage":"","size":10222,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"systers:develop","ref":"develop","sha":"c9d16c5f75268856300f0585e684c8685729d5bf","user":{"login":"systers","id":6520415,"avatar_url":"https://avatars0.githubusercontent.com/u/6520415?v=4","gravatar_id":"","url":"https://api.github.com/users/systers","html_url":"https://github.com/systers","followers_url":"https://api.github.com/users/systers/followers","following_url":"https://api.github.com/users/systers/following{/other_user}","gists_url":"https://api.github.com/users/systers/gists{/gist_id}","starred_url":"https://api.github.com/users/systers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systers/subscriptions","organizations_url":"https://api.github.com/users/systers/orgs","repos_url":"https://api.github.com/users/systers/repos","events_url":"https://api.github.com/users/systers/events{/privacy}","received_events_url":"https://api.github.com/users/systers/received_events","type":"Organization","site_admin":false},"repo":{"id":54077704,"name":"FirstAide-web","full_name":"systers/FirstAide-web","owner":{"login":"systers","id":6520415,"avatar_url":"https://avatars0.githubusercontent.com/u/6520415?v=4","gravatar_id":"","url":"https://api.github.com/users/systers","html_url":"https://github.com/systers","followers_url":"https://api.github.com/users/systers/followers","following_url":"https://api.github.com/users/systers/following{/other_user}","gists_url":"https://api.github.com/users/systers/gists{/gist_id}","starred_url":"https://api.github.com/users/systers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systers/subscriptions","organizations_url":"https://api.github.com/users/systers/orgs","repos_url":"https://api.github.com/users/systers/repos","events_url":"https://api.github.com/users/systers/events{/privacy}","received_events_url":"https://api.github.com/users/systers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/systers/FirstAide-web","description":"FirstAide-Web is a web application to help the Peace Corps Volunteers who are victims of sexual harassment","fork":true,"url":"https://api.github.com/repos/systers/FirstAide-web","forks_url":"https://api.github.com/repos/systers/FirstAide-web/forks","keys_url":"https://api.github.com/repos/systers/FirstAide-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/systers/FirstAide-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/systers/FirstAide-web/teams","hooks_url":"https://api.github.com/repos/systers/FirstAide-web/hooks","issue_events_url":"https://api.github.com/repos/systers/FirstAide-web/issues/events{/number}","events_url":"https://api.github.com/repos/systers/FirstAide-web/events","assignees_url":"https://api.github.com/repos/systers/FirstAide-web/assignees{/user}","branches_url":"https://api.github.com/repos/systers/FirstAide-web/branches{/branch}","tags_url":"https://api.github.com/repos/systers/FirstAide-web/tags","blobs_url":"https://api.github.com/repos/systers/FirstAide-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/systers/FirstAide-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/systers/FirstAide-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/systers/FirstAide-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/systers/FirstAide-web/statuses/{sha}","languages_url":"https://api.github.com/repos/systers/FirstAide-web/languages","stargazers_url":"https://api.github.com/repos/systers/FirstAide-web/stargazers","contributors_url":"https://api.github.com/repos/systers/FirstAide-web/contributors","subscribers_url":"https://api.github.com/repos/systers/FirstAide-web/subscribers","subscription_url":"https://api.github.com/repos/systers/FirstAide-web/subscription","commits_url":"https://api.github.com/repos/systers/FirstAide-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/systers/FirstAide-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/systers/FirstAide-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/systers/FirstAide-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/systers/FirstAide-web/contents/{+path}","compare_url":"https://api.github.com/repos/systers/FirstAide-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/systers/FirstAide-web/merges","archive_url":"https://api.github.com/repos/systers/FirstAide-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/systers/FirstAide-web/downloads","issues_url":"https://api.github.com/repos/systers/FirstAide-web/issues{/number}","pulls_url":"https://api.github.com/repos/systers/FirstAide-web/pulls{/number}","milestones_url":"https://api.github.com/repos/systers/FirstAide-web/milestones{/number}","notifications_url":"https://api.github.com/repos/systers/FirstAide-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/systers/FirstAide-web/labels{/name}","releases_url":"https://api.github.com/repos/systers/FirstAide-web/releases{/id}","deployments_url":"https://api.github.com/repos/systers/FirstAide-web/deployments","created_at":"2016-03-17T01:07:13Z","updated_at":"2017-07-21T14:01:35Z","pushed_at":"2017-08-02T11:33:18Z","git_url":"git://github.com/systers/FirstAide-web.git","ssh_url":"git@github.com:systers/FirstAide-web.git","clone_url":"https://github.com/systers/FirstAide-web.git","svn_url":"https://github.com/systers/FirstAide-web","homepage":"","size":9512,"stargazers_count":15,"watchers_count":15,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":52,"mirror_url":null,"open_issues_count":9,"forks":52,"open_issues":9,"watchers":15,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/systers/FirstAide-web/pulls/254"},"html":{"href":"https://github.com/systers/FirstAide-web/pull/254"},"issue":{"href":"https://api.github.com/repos/systers/FirstAide-web/issues/254"},"comments":{"href":"https://api.github.com/repos/systers/FirstAide-web/issues/254/comments"},"review_comments":{"href":"https://api.github.com/repos/systers/FirstAide-web/pulls/254/comments"},"review_comment":{"href":"https://api.github.com/repos/systers/FirstAide-web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/systers/FirstAide-web/pulls/254/commits"},"statuses":{"href":"https://api.github.com/repos/systers/FirstAide-web/statuses/a7303aabfeb81f477cff586a72a0d3da7a71cc85"}}}}
{"actor":{"display_login":"fatimarafiqui"}}