{"action":"created","comment":{"url":"https://api.github.com/repos/elifesciences/journal-cms/pulls/comments/83183831","pull_request_review_id":4041449,"id":83183831,"diff_hunk":"@@ -0,0 +1,59 @@\n+<?php\n+\n+namespace Drupal\\Tests\\jcms_rest\\Unit;\n+\n+use Drupal\\Tests\\UnitTestCase;\n+use Drupal\\jcms_rest\\PathMimeTypeMapper;\n+\n+/**\n+ * Class PathMimeTypeMapperTest\n+ *\n+ * @package Drupal\\Tests\\jcms_rest\\Unit\n+ */\n+class PathMimeTypeMapperTest extends UnitTestCase {\n+\n+  /**\n+   * @var \\Drupal\\jcms_rest\\PathMimeTypeMapper\n+   *   The class we're testing.\n+   */\n+  protected $pathMimeTypeMapper;\n+\n+  public function setUp() {\n+    $this->pathMimeTypeMapper = new PathMimeTypeMapper();\n+  }\n+\n+  public function dataProvider()\n+  {","path":"src/modules/jcms_rest/tests/src/PathMimeTypeMapperTest.php","position":26,"original_position":26,"commit_id":"c015cd14805161f0cc75b10d1325cfb4358919b4","original_commit_id":"c015cd14805161f0cc75b10d1325cfb4358919b4","user":{"login":"jamiehollern","id":1324279,"avatar_url":"https://avatars.githubusercontent.com/u/1324279?v=3","gravatar_id":"","url":"https://api.github.com/users/jamiehollern","html_url":"https://github.com/jamiehollern","followers_url":"https://api.github.com/users/jamiehollern/followers","following_url":"https://api.github.com/users/jamiehollern/following{/other_user}","gists_url":"https://api.github.com/users/jamiehollern/gists{/gist_id}","starred_url":"https://api.github.com/users/jamiehollern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamiehollern/subscriptions","organizations_url":"https://api.github.com/users/jamiehollern/orgs","repos_url":"https://api.github.com/users/jamiehollern/repos","events_url":"https://api.github.com/users/jamiehollern/events{/privacy}","received_events_url":"https://api.github.com/users/jamiehollern/received_events","type":"User","site_admin":false},"body":"I've just realised I need to add some more dynamic examples. Thanks, @giorgiosironi!","created_at":"2016-10-13T10:10:48Z","updated_at":"2016-10-13T10:10:48Z","html_url":"https://github.com/elifesciences/journal-cms/pull/10#discussion_r83183831","pull_request_url":"https://api.github.com/repos/elifesciences/journal-cms/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/elifesciences/journal-cms/pulls/comments/83183831"},"html":{"href":"https://github.com/elifesciences/journal-cms/pull/10#discussion_r83183831"},"pull_request":{"href":"https://api.github.com/repos/elifesciences/journal-cms/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/elifesciences/journal-cms/pulls/10","id":89166554,"html_url":"https://github.com/elifesciences/journal-cms/pull/10","diff_url":"https://github.com/elifesciences/journal-cms/pull/10.diff","patch_url":"https://github.com/elifesciences/journal-cms/pull/10.patch","issue_url":"https://api.github.com/repos/elifesciences/journal-cms/issues/10","number":10,"state":"open","locked":false,"title":"feature/ELPP-897 Refactored custom mime type work and updated RAML schema tests.","user":{"login":"jamiehollern","id":1324279,"avatar_url":"https://avatars.githubusercontent.com/u/1324279?v=3","gravatar_id":"","url":"https://api.github.com/users/jamiehollern","html_url":"https://github.com/jamiehollern","followers_url":"https://api.github.com/users/jamiehollern/followers","following_url":"https://api.github.com/users/jamiehollern/following{/other_user}","gists_url":"https://api.github.com/users/jamiehollern/gists{/gist_id}","starred_url":"https://api.github.com/users/jamiehollern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamiehollern/subscriptions","organizations_url":"https://api.github.com/users/jamiehollern/orgs","repos_url":"https://api.github.com/users/jamiehollern/repos","events_url":"https://api.github.com/users/jamiehollern/events{/privacy}","received_events_url":"https://api.github.com/users/jamiehollern/received_events","type":"User","site_admin":false},"body":"@nlisgo @giorgiosironi ","created_at":"2016-10-13T09:33:46Z","updated_at":"2016-10-13T10:10:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2dd321420ec130d6d01090cc1b1541b150b8ae08","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/elifesciences/journal-cms/pulls/10/commits","review_comments_url":"https://api.github.com/repos/elifesciences/journal-cms/pulls/10/comments","review_comment_url":"https://api.github.com/repos/elifesciences/journal-cms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elifesciences/journal-cms/issues/10/comments","statuses_url":"https://api.github.com/repos/elifesciences/journal-cms/statuses/c015cd14805161f0cc75b10d1325cfb4358919b4","head":{"label":"digirati-co-uk:feature/ELPP-897","ref":"feature/ELPP-897","sha":"c015cd14805161f0cc75b10d1325cfb4358919b4","user":{"login":"digirati-co-uk","id":3778637,"avatar_url":"https://avatars.githubusercontent.com/u/3778637?v=3","gravatar_id":"","url":"https://api.github.com/users/digirati-co-uk","html_url":"https://github.com/digirati-co-uk","followers_url":"https://api.github.com/users/digirati-co-uk/followers","following_url":"https://api.github.com/users/digirati-co-uk/following{/other_user}","gists_url":"https://api.github.com/users/digirati-co-uk/gists{/gist_id}","starred_url":"https://api.github.com/users/digirati-co-uk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digirati-co-uk/subscriptions","organizations_url":"https://api.github.com/users/digirati-co-uk/orgs","repos_url":"https://api.github.com/users/digirati-co-uk/repos","events_url":"https://api.github.com/users/digirati-co-uk/events{/privacy}","received_events_url":"https://api.github.com/users/digirati-co-uk/received_events","type":"Organization","site_admin":false},"repo":{"id":65909471,"name":"journal-cms","full_name":"digirati-co-uk/journal-cms","owner":{"login":"digirati-co-uk","id":3778637,"avatar_url":"https://avatars.githubusercontent.com/u/3778637?v=3","gravatar_id":"","url":"https://api.github.com/users/digirati-co-uk","html_url":"https://github.com/digirati-co-uk","followers_url":"https://api.github.com/users/digirati-co-uk/followers","following_url":"https://api.github.com/users/digirati-co-uk/following{/other_user}","gists_url":"https://api.github.com/users/digirati-co-uk/gists{/gist_id}","starred_url":"https://api.github.com/users/digirati-co-uk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digirati-co-uk/subscriptions","organizations_url":"https://api.github.com/users/digirati-co-uk/orgs","repos_url":"https://api.github.com/users/digirati-co-uk/repos","events_url":"https://api.github.com/users/digirati-co-uk/events{/privacy}","received_events_url":"https://api.github.com/users/digirati-co-uk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/digirati-co-uk/journal-cms","description":null,"fork":true,"url":"https://api.github.com/repos/digirati-co-uk/journal-cms","forks_url":"https://api.github.com/repos/digirati-co-uk/journal-cms/forks","keys_url":"https://api.github.com/repos/digirati-co-uk/journal-cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/digirati-co-uk/journal-cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/digirati-co-uk/journal-cms/teams","hooks_url":"https://api.github.com/repos/digirati-co-uk/journal-cms/hooks","issue_events_url":"https://api.github.com/repos/digirati-co-uk/journal-cms/issues/events{/number}","events_url":"https://api.github.com/repos/digirati-co-uk/journal-cms/events","assignees_url":"https://api.github.com/repos/digirati-co-uk/journal-cms/assignees{/user}","branches_url":"https://api.github.com/repos/digirati-co-uk/journal-cms/branches{/branch}","tags_url":"https://api.github.com/repos/digirati-co-uk/journal-cms/tags","blobs_url":"https://api.github.com/repos/digirati-co-uk/journal-cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/digirati-co-uk/journal-cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/digirati-co-uk/journal-cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/digirati-co-uk/journal-cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/digirati-co-uk/journal-cms/statuses/{sha}","languages_url":"https://api.github.com/repos/digirati-co-uk/journal-cms/languages","stargazers_url":"https://api.github.com/repos/digirati-co-uk/journal-cms/stargazers","contributors_url":"https://api.github.com/repos/digirati-co-uk/journal-cms/contributors","subscribers_url":"https://api.github.com/repos/digirati-co-uk/journal-cms/subscribers","subscription_url":"https://api.github.com/repos/digirati-co-uk/journal-cms/subscription","commits_url":"https://api.github.com/repos/digirati-co-uk/journal-cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/digirati-co-uk/journal-cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/digirati-co-uk/journal-cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/digirati-co-uk/journal-cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/digirati-co-uk/journal-cms/contents/{+path}","compare_url":"https://api.github.com/repos/digirati-co-uk/journal-cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/digirati-co-uk/journal-cms/merges","archive_url":"https://api.github.com/repos/digirati-co-uk/journal-cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/digirati-co-uk/journal-cms/downloads","issues_url":"https://api.github.com/repos/digirati-co-uk/journal-cms/issues{/number}","pulls_url":"https://api.github.com/repos/digirati-co-uk/journal-cms/pulls{/number}","milestones_url":"https://api.github.com/repos/digirati-co-uk/journal-cms/milestones{/number}","notifications_url":"https://api.github.com/repos/digirati-co-uk/journal-cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/digirati-co-uk/journal-cms/labels{/name}","releases_url":"https://api.github.com/repos/digirati-co-uk/journal-cms/releases{/id}","deployments_url":"https://api.github.com/repos/digirati-co-uk/journal-cms/deployments","created_at":"2016-08-17T13:24:33Z","updated_at":"2016-08-17T13:24:34Z","pushed_at":"2016-10-13T09:23:28Z","git_url":"git://github.com/digirati-co-uk/journal-cms.git","ssh_url":"git@github.com:digirati-co-uk/journal-cms.git","clone_url":"https://github.com/digirati-co-uk/journal-cms.git","svn_url":"https://github.com/digirati-co-uk/journal-cms","homepage":null,"size":7198,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"elifesciences:develop","ref":"develop","sha":"eb079cb85db699081195418226010a72ad0df530","user":{"login":"elifesciences","id":1777367,"avatar_url":"https://avatars.githubusercontent.com/u/1777367?v=3","gravatar_id":"","url":"https://api.github.com/users/elifesciences","html_url":"https://github.com/elifesciences","followers_url":"https://api.github.com/users/elifesciences/followers","following_url":"https://api.github.com/users/elifesciences/following{/other_user}","gists_url":"https://api.github.com/users/elifesciences/gists{/gist_id}","starred_url":"https://api.github.com/users/elifesciences/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elifesciences/subscriptions","organizations_url":"https://api.github.com/users/elifesciences/orgs","repos_url":"https://api.github.com/users/elifesciences/repos","events_url":"https://api.github.com/users/elifesciences/events{/privacy}","received_events_url":"https://api.github.com/users/elifesciences/received_events","type":"Organization","site_admin":false},"repo":{"id":54658808,"name":"journal-cms","full_name":"elifesciences/journal-cms","owner":{"login":"elifesciences","id":1777367,"avatar_url":"https://avatars.githubusercontent.com/u/1777367?v=3","gravatar_id":"","url":"https://api.github.com/users/elifesciences","html_url":"https://github.com/elifesciences","followers_url":"https://api.github.com/users/elifesciences/followers","following_url":"https://api.github.com/users/elifesciences/following{/other_user}","gists_url":"https://api.github.com/users/elifesciences/gists{/gist_id}","starred_url":"https://api.github.com/users/elifesciences/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elifesciences/subscriptions","organizations_url":"https://api.github.com/users/elifesciences/orgs","repos_url":"https://api.github.com/users/elifesciences/repos","events_url":"https://api.github.com/users/elifesciences/events{/privacy}","received_events_url":"https://api.github.com/users/elifesciences/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elifesciences/journal-cms","description":null,"fork":false,"url":"https://api.github.com/repos/elifesciences/journal-cms","forks_url":"https://api.github.com/repos/elifesciences/journal-cms/forks","keys_url":"https://api.github.com/repos/elifesciences/journal-cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elifesciences/journal-cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elifesciences/journal-cms/teams","hooks_url":"https://api.github.com/repos/elifesciences/journal-cms/hooks","issue_events_url":"https://api.github.com/repos/elifesciences/journal-cms/issues/events{/number}","events_url":"https://api.github.com/repos/elifesciences/journal-cms/events","assignees_url":"https://api.github.com/repos/elifesciences/journal-cms/assignees{/user}","branches_url":"https://api.github.com/repos/elifesciences/journal-cms/branches{/branch}","tags_url":"https://api.github.com/repos/elifesciences/journal-cms/tags","blobs_url":"https://api.github.com/repos/elifesciences/journal-cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elifesciences/journal-cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elifesciences/journal-cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/elifesciences/journal-cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elifesciences/journal-cms/statuses/{sha}","languages_url":"https://api.github.com/repos/elifesciences/journal-cms/languages","stargazers_url":"https://api.github.com/repos/elifesciences/journal-cms/stargazers","contributors_url":"https://api.github.com/repos/elifesciences/journal-cms/contributors","subscribers_url":"https://api.github.com/repos/elifesciences/journal-cms/subscribers","subscription_url":"https://api.github.com/repos/elifesciences/journal-cms/subscription","commits_url":"https://api.github.com/repos/elifesciences/journal-cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/elifesciences/journal-cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/elifesciences/journal-cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/elifesciences/journal-cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/elifesciences/journal-cms/contents/{+path}","compare_url":"https://api.github.com/repos/elifesciences/journal-cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elifesciences/journal-cms/merges","archive_url":"https://api.github.com/repos/elifesciences/journal-cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elifesciences/journal-cms/downloads","issues_url":"https://api.github.com/repos/elifesciences/journal-cms/issues{/number}","pulls_url":"https://api.github.com/repos/elifesciences/journal-cms/pulls{/number}","milestones_url":"https://api.github.com/repos/elifesciences/journal-cms/milestones{/number}","notifications_url":"https://api.github.com/repos/elifesciences/journal-cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elifesciences/journal-cms/labels{/name}","releases_url":"https://api.github.com/repos/elifesciences/journal-cms/releases{/id}","deployments_url":"https://api.github.com/repos/elifesciences/journal-cms/deployments","created_at":"2016-03-24T16:54:36Z","updated_at":"2016-08-05T10:59:45Z","pushed_at":"2016-10-13T09:43:54Z","git_url":"git://github.com/elifesciences/journal-cms.git","ssh_url":"git@github.com:elifesciences/journal-cms.git","clone_url":"https://github.com/elifesciences/journal-cms.git","svn_url":"https://github.com/elifesciences/journal-cms","homepage":null,"size":7178,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/elifesciences/journal-cms/pulls/10"},"html":{"href":"https://github.com/elifesciences/journal-cms/pull/10"},"issue":{"href":"https://api.github.com/repos/elifesciences/journal-cms/issues/10"},"comments":{"href":"https://api.github.com/repos/elifesciences/journal-cms/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/elifesciences/journal-cms/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/elifesciences/journal-cms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elifesciences/journal-cms/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/elifesciences/journal-cms/statuses/c015cd14805161f0cc75b10d1325cfb4358919b4"}}}}
{"actor":{"display_login":"jamiehollern"}}