{"action":"created","comment":{"url":"https://api.github.com/repos/otavanopisto/pyramus/pulls/comments/45724556","id":45724556,"diff_hunk":"@@ -347,4 +347,16 @@ public void testEmailUniquityRestriction() {\n       .statusCode(204);\n   }\n   \n+  @Test\n+  public void testListPersonStaffMembers() {\n+    given().headers(getAuthHeaders())\n+      .get(\"/persons/persons/{ID}/staffMembers\", 1)\n+      .then()\n+      .statusCode(200)\n+      .body(\"id.size()\", is(1))\n+      .body(\"id[0]\", is(1))\n+      .body(\"firstName[0]\", is(\"Test Guest\"))\n+      .body(\"lastName[0]\", is(\"User #1\"))\n+      .body(\"role[0]\", is(\"GUEST\"));","path":"pyramus/src/test/java/fi/pyramus/rest/PersonTestsIT.java","position":14,"original_position":14,"commit_id":"ac4438c25649e0871128d6eddf7ecced9000c61d","original_commit_id":"ac4438c25649e0871128d6eddf7ecced9000c61d","user":{"login":"ilmoeuro","id":1074146,"avatar_url":"https://avatars.githubusercontent.com/u/1074146?v=3","gravatar_id":"","url":"https://api.github.com/users/ilmoeuro","html_url":"https://github.com/ilmoeuro","followers_url":"https://api.github.com/users/ilmoeuro/followers","following_url":"https://api.github.com/users/ilmoeuro/following{/other_user}","gists_url":"https://api.github.com/users/ilmoeuro/gists{/gist_id}","starred_url":"https://api.github.com/users/ilmoeuro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilmoeuro/subscriptions","organizations_url":"https://api.github.com/users/ilmoeuro/orgs","repos_url":"https://api.github.com/users/ilmoeuro/repos","events_url":"https://api.github.com/users/ilmoeuro/events{/privacy}","received_events_url":"https://api.github.com/users/ilmoeuro/received_events","type":"User","site_admin":false},"body":"Typo prone.","created_at":"2015-11-24T11:39:08Z","updated_at":"2015-11-24T11:39:08Z","html_url":"https://github.com/otavanopisto/pyramus/pull/227#discussion_r45724556","pull_request_url":"https://api.github.com/repos/otavanopisto/pyramus/pulls/227","_links":{"self":{"href":"https://api.github.com/repos/otavanopisto/pyramus/pulls/comments/45724556"},"html":{"href":"https://github.com/otavanopisto/pyramus/pull/227#discussion_r45724556"},"pull_request":{"href":"https://api.github.com/repos/otavanopisto/pyramus/pulls/227"}}},"pull_request":{"url":"https://api.github.com/repos/otavanopisto/pyramus/pulls/227","id":51616841,"html_url":"https://github.com/otavanopisto/pyramus/pull/227","diff_url":"https://github.com/otavanopisto/pyramus/pull/227.diff","patch_url":"https://github.com/otavanopisto/pyramus/pull/227.patch","issue_url":"https://api.github.com/repos/otavanopisto/pyramus/issues/227","number":227,"state":"open","locked":false,"title":"Ftr 223 person staff","user":{"login":"anttileppa","id":1730736,"avatar_url":"https://avatars.githubusercontent.com/u/1730736?v=3","gravatar_id":"","url":"https://api.github.com/users/anttileppa","html_url":"https://github.com/anttileppa","followers_url":"https://api.github.com/users/anttileppa/followers","following_url":"https://api.github.com/users/anttileppa/following{/other_user}","gists_url":"https://api.github.com/users/anttileppa/gists{/gist_id}","starred_url":"https://api.github.com/users/anttileppa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anttileppa/subscriptions","organizations_url":"https://api.github.com/users/anttileppa/orgs","repos_url":"https://api.github.com/users/anttileppa/repos","events_url":"https://api.github.com/users/anttileppa/events{/privacy}","received_events_url":"https://api.github.com/users/anttileppa/received_events","type":"User","site_admin":false},"body":"Fixes #223 ","created_at":"2015-11-24T04:46:52Z","updated_at":"2015-11-24T11:39:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a7b148cf6ccf7826e02443726e792ad65ec0a43e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/otavanopisto/pyramus/pulls/227/commits","review_comments_url":"https://api.github.com/repos/otavanopisto/pyramus/pulls/227/comments","review_comment_url":"https://api.github.com/repos/otavanopisto/pyramus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/otavanopisto/pyramus/issues/227/comments","statuses_url":"https://api.github.com/repos/otavanopisto/pyramus/statuses/ac4438c25649e0871128d6eddf7ecced9000c61d","head":{"label":"otavanopisto:FTR-223_person_staff","ref":"FTR-223_person_staff","sha":"ac4438c25649e0871128d6eddf7ecced9000c61d","user":{"login":"otavanopisto","id":3909061,"avatar_url":"https://avatars.githubusercontent.com/u/3909061?v=3","gravatar_id":"","url":"https://api.github.com/users/otavanopisto","html_url":"https://github.com/otavanopisto","followers_url":"https://api.github.com/users/otavanopisto/followers","following_url":"https://api.github.com/users/otavanopisto/following{/other_user}","gists_url":"https://api.github.com/users/otavanopisto/gists{/gist_id}","starred_url":"https://api.github.com/users/otavanopisto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otavanopisto/subscriptions","organizations_url":"https://api.github.com/users/otavanopisto/orgs","repos_url":"https://api.github.com/users/otavanopisto/repos","events_url":"https://api.github.com/users/otavanopisto/events{/privacy}","received_events_url":"https://api.github.com/users/otavanopisto/received_events","type":"Organization","site_admin":false},"repo":{"id":9000909,"name":"pyramus","full_name":"otavanopisto/pyramus","owner":{"login":"otavanopisto","id":3909061,"avatar_url":"https://avatars.githubusercontent.com/u/3909061?v=3","gravatar_id":"","url":"https://api.github.com/users/otavanopisto","html_url":"https://github.com/otavanopisto","followers_url":"https://api.github.com/users/otavanopisto/followers","following_url":"https://api.github.com/users/otavanopisto/following{/other_user}","gists_url":"https://api.github.com/users/otavanopisto/gists{/gist_id}","starred_url":"https://api.github.com/users/otavanopisto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otavanopisto/subscriptions","organizations_url":"https://api.github.com/users/otavanopisto/orgs","repos_url":"https://api.github.com/users/otavanopisto/repos","events_url":"https://api.github.com/users/otavanopisto/events{/privacy}","received_events_url":"https://api.github.com/users/otavanopisto/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/otavanopisto/pyramus","description":"Project management based school administration system","fork":false,"url":"https://api.github.com/repos/otavanopisto/pyramus","forks_url":"https://api.github.com/repos/otavanopisto/pyramus/forks","keys_url":"https://api.github.com/repos/otavanopisto/pyramus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/otavanopisto/pyramus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/otavanopisto/pyramus/teams","hooks_url":"https://api.github.com/repos/otavanopisto/pyramus/hooks","issue_events_url":"https://api.github.com/repos/otavanopisto/pyramus/issues/events{/number}","events_url":"https://api.github.com/repos/otavanopisto/pyramus/events","assignees_url":"https://api.github.com/repos/otavanopisto/pyramus/assignees{/user}","branches_url":"https://api.github.com/repos/otavanopisto/pyramus/branches{/branch}","tags_url":"https://api.github.com/repos/otavanopisto/pyramus/tags","blobs_url":"https://api.github.com/repos/otavanopisto/pyramus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/otavanopisto/pyramus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/otavanopisto/pyramus/git/refs{/sha}","trees_url":"https://api.github.com/repos/otavanopisto/pyramus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/otavanopisto/pyramus/statuses/{sha}","languages_url":"https://api.github.com/repos/otavanopisto/pyramus/languages","stargazers_url":"https://api.github.com/repos/otavanopisto/pyramus/stargazers","contributors_url":"https://api.github.com/repos/otavanopisto/pyramus/contributors","subscribers_url":"https://api.github.com/repos/otavanopisto/pyramus/subscribers","subscription_url":"https://api.github.com/repos/otavanopisto/pyramus/subscription","commits_url":"https://api.github.com/repos/otavanopisto/pyramus/commits{/sha}","git_commits_url":"https://api.github.com/repos/otavanopisto/pyramus/git/commits{/sha}","comments_url":"https://api.github.com/repos/otavanopisto/pyramus/comments{/number}","issue_comment_url":"https://api.github.com/repos/otavanopisto/pyramus/issues/comments{/number}","contents_url":"https://api.github.com/repos/otavanopisto/pyramus/contents/{+path}","compare_url":"https://api.github.com/repos/otavanopisto/pyramus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/otavanopisto/pyramus/merges","archive_url":"https://api.github.com/repos/otavanopisto/pyramus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/otavanopisto/pyramus/downloads","issues_url":"https://api.github.com/repos/otavanopisto/pyramus/issues{/number}","pulls_url":"https://api.github.com/repos/otavanopisto/pyramus/pulls{/number}","milestones_url":"https://api.github.com/repos/otavanopisto/pyramus/milestones{/number}","notifications_url":"https://api.github.com/repos/otavanopisto/pyramus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/otavanopisto/pyramus/labels{/name}","releases_url":"https://api.github.com/repos/otavanopisto/pyramus/releases{/id}","created_at":"2013-03-25T07:25:03Z","updated_at":"2015-04-20T10:17:10Z","pushed_at":"2015-11-24T10:50:34Z","git_url":"git://github.com/otavanopisto/pyramus.git","ssh_url":"git@github.com:otavanopisto/pyramus.git","clone_url":"https://github.com/otavanopisto/pyramus.git","svn_url":"https://github.com/otavanopisto/pyramus","homepage":null,"size":74709,"stargazers_count":6,"watchers_count":6,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":132,"forks":4,"open_issues":132,"watchers":6,"default_branch":"master"}},"base":{"label":"otavanopisto:develop","ref":"develop","sha":"2e7a2cdbd526f960057b8abf8514c3056e7bfb54","user":{"login":"otavanopisto","id":3909061,"avatar_url":"https://avatars.githubusercontent.com/u/3909061?v=3","gravatar_id":"","url":"https://api.github.com/users/otavanopisto","html_url":"https://github.com/otavanopisto","followers_url":"https://api.github.com/users/otavanopisto/followers","following_url":"https://api.github.com/users/otavanopisto/following{/other_user}","gists_url":"https://api.github.com/users/otavanopisto/gists{/gist_id}","starred_url":"https://api.github.com/users/otavanopisto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otavanopisto/subscriptions","organizations_url":"https://api.github.com/users/otavanopisto/orgs","repos_url":"https://api.github.com/users/otavanopisto/repos","events_url":"https://api.github.com/users/otavanopisto/events{/privacy}","received_events_url":"https://api.github.com/users/otavanopisto/received_events","type":"Organization","site_admin":false},"repo":{"id":9000909,"name":"pyramus","full_name":"otavanopisto/pyramus","owner":{"login":"otavanopisto","id":3909061,"avatar_url":"https://avatars.githubusercontent.com/u/3909061?v=3","gravatar_id":"","url":"https://api.github.com/users/otavanopisto","html_url":"https://github.com/otavanopisto","followers_url":"https://api.github.com/users/otavanopisto/followers","following_url":"https://api.github.com/users/otavanopisto/following{/other_user}","gists_url":"https://api.github.com/users/otavanopisto/gists{/gist_id}","starred_url":"https://api.github.com/users/otavanopisto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otavanopisto/subscriptions","organizations_url":"https://api.github.com/users/otavanopisto/orgs","repos_url":"https://api.github.com/users/otavanopisto/repos","events_url":"https://api.github.com/users/otavanopisto/events{/privacy}","received_events_url":"https://api.github.com/users/otavanopisto/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/otavanopisto/pyramus","description":"Project management based school administration system","fork":false,"url":"https://api.github.com/repos/otavanopisto/pyramus","forks_url":"https://api.github.com/repos/otavanopisto/pyramus/forks","keys_url":"https://api.github.com/repos/otavanopisto/pyramus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/otavanopisto/pyramus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/otavanopisto/pyramus/teams","hooks_url":"https://api.github.com/repos/otavanopisto/pyramus/hooks","issue_events_url":"https://api.github.com/repos/otavanopisto/pyramus/issues/events{/number}","events_url":"https://api.github.com/repos/otavanopisto/pyramus/events","assignees_url":"https://api.github.com/repos/otavanopisto/pyramus/assignees{/user}","branches_url":"https://api.github.com/repos/otavanopisto/pyramus/branches{/branch}","tags_url":"https://api.github.com/repos/otavanopisto/pyramus/tags","blobs_url":"https://api.github.com/repos/otavanopisto/pyramus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/otavanopisto/pyramus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/otavanopisto/pyramus/git/refs{/sha}","trees_url":"https://api.github.com/repos/otavanopisto/pyramus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/otavanopisto/pyramus/statuses/{sha}","languages_url":"https://api.github.com/repos/otavanopisto/pyramus/languages","stargazers_url":"https://api.github.com/repos/otavanopisto/pyramus/stargazers","contributors_url":"https://api.github.com/repos/otavanopisto/pyramus/contributors","subscribers_url":"https://api.github.com/repos/otavanopisto/pyramus/subscribers","subscription_url":"https://api.github.com/repos/otavanopisto/pyramus/subscription","commits_url":"https://api.github.com/repos/otavanopisto/pyramus/commits{/sha}","git_commits_url":"https://api.github.com/repos/otavanopisto/pyramus/git/commits{/sha}","comments_url":"https://api.github.com/repos/otavanopisto/pyramus/comments{/number}","issue_comment_url":"https://api.github.com/repos/otavanopisto/pyramus/issues/comments{/number}","contents_url":"https://api.github.com/repos/otavanopisto/pyramus/contents/{+path}","compare_url":"https://api.github.com/repos/otavanopisto/pyramus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/otavanopisto/pyramus/merges","archive_url":"https://api.github.com/repos/otavanopisto/pyramus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/otavanopisto/pyramus/downloads","issues_url":"https://api.github.com/repos/otavanopisto/pyramus/issues{/number}","pulls_url":"https://api.github.com/repos/otavanopisto/pyramus/pulls{/number}","milestones_url":"https://api.github.com/repos/otavanopisto/pyramus/milestones{/number}","notifications_url":"https://api.github.com/repos/otavanopisto/pyramus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/otavanopisto/pyramus/labels{/name}","releases_url":"https://api.github.com/repos/otavanopisto/pyramus/releases{/id}","created_at":"2013-03-25T07:25:03Z","updated_at":"2015-04-20T10:17:10Z","pushed_at":"2015-11-24T10:50:34Z","git_url":"git://github.com/otavanopisto/pyramus.git","ssh_url":"git@github.com:otavanopisto/pyramus.git","clone_url":"https://github.com/otavanopisto/pyramus.git","svn_url":"https://github.com/otavanopisto/pyramus","homepage":null,"size":74709,"stargazers_count":6,"watchers_count":6,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":132,"forks":4,"open_issues":132,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/otavanopisto/pyramus/pulls/227"},"html":{"href":"https://github.com/otavanopisto/pyramus/pull/227"},"issue":{"href":"https://api.github.com/repos/otavanopisto/pyramus/issues/227"},"comments":{"href":"https://api.github.com/repos/otavanopisto/pyramus/issues/227/comments"},"review_comments":{"href":"https://api.github.com/repos/otavanopisto/pyramus/pulls/227/comments"},"review_comment":{"href":"https://api.github.com/repos/otavanopisto/pyramus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/otavanopisto/pyramus/pulls/227/commits"},"statuses":{"href":"https://api.github.com/repos/otavanopisto/pyramus/statuses/ac4438c25649e0871128d6eddf7ecced9000c61d"}}}}