{"action":"created","comment":{"url":"https://api.github.com/repos/Sylius/Sylius/pulls/comments/47334049","id":47334049,"diff_hunk":"@@ -0,0 +1,23 @@\n+Sylius\\Bundle\\ApiBundle\\Model\\Client:\n+    oauth:\n+        randomId: client_id\n+        secret: secret\n+        allowedGrantTypes: [password, access_token, refresh_token]\n+\n+Sylius\\Bundle\\ApiBundle\\Model\\AccessToken:\n+    oauth_token:\n+        client: @oauth\n+        user: @admin\n+        token: access_token\n+\n+Sylius\\Component\\Core\\Model\\User:\n+    admin:\n+        plainPassword: sylius\n+        roles: [ROLE_API]","path":"src/Sylius/Bundle/CoreBundle/Tests/DataFixtures/ORM/api_administrator.yml","position":16,"original_position":16,"commit_id":"b892ce85b4c687ca62b2a8ff640f34c6f17baf3e","original_commit_id":"b892ce85b4c687ca62b2a8ff640f34c6f17baf3e","user":{"login":"lchrusciel","id":6213903,"avatar_url":"https://avatars.githubusercontent.com/u/6213903?v=3","gravatar_id":"","url":"https://api.github.com/users/lchrusciel","html_url":"https://github.com/lchrusciel","followers_url":"https://api.github.com/users/lchrusciel/followers","following_url":"https://api.github.com/users/lchrusciel/following{/other_user}","gists_url":"https://api.github.com/users/lchrusciel/gists{/gist_id}","starred_url":"https://api.github.com/users/lchrusciel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lchrusciel/subscriptions","organizations_url":"https://api.github.com/users/lchrusciel/orgs","repos_url":"https://api.github.com/users/lchrusciel/repos","events_url":"https://api.github.com/users/lchrusciel/events{/privacy}","received_events_url":"https://api.github.com/users/lchrusciel/received_events","type":"User","site_admin":false},"body":"According to data fixtures we use [`ROLE_API`](https://github.com/Sylius/Sylius/blob/master/src/Sylius/Bundle/FixturesBundle/DataFixtures/ORM/LoadApiData.php#L38)","created_at":"2015-12-11T09:13:53Z","updated_at":"2015-12-11T09:13:53Z","html_url":"https://github.com/Sylius/Sylius/pull/3701#discussion_r47334049","pull_request_url":"https://api.github.com/repos/Sylius/Sylius/pulls/3701","_links":{"self":{"href":"https://api.github.com/repos/Sylius/Sylius/pulls/comments/47334049"},"html":{"href":"https://github.com/Sylius/Sylius/pull/3701#discussion_r47334049"},"pull_request":{"href":"https://api.github.com/repos/Sylius/Sylius/pulls/3701"}}},"pull_request":{"url":"https://api.github.com/repos/Sylius/Sylius/pulls/3701","id":53273094,"html_url":"https://github.com/Sylius/Sylius/pull/3701","diff_url":"https://github.com/Sylius/Sylius/pull/3701.diff","patch_url":"https://github.com/Sylius/Sylius/pull/3701.patch","issue_url":"https://api.github.com/repos/Sylius/Sylius/issues/3701","number":3701,"state":"open","locked":false,"title":"[API] Initial API tests","user":{"login":"lchrusciel","id":6213903,"avatar_url":"https://avatars.githubusercontent.com/u/6213903?v=3","gravatar_id":"","url":"https://api.github.com/users/lchrusciel","html_url":"https://github.com/lchrusciel","followers_url":"https://api.github.com/users/lchrusciel/followers","following_url":"https://api.github.com/users/lchrusciel/following{/other_user}","gists_url":"https://api.github.com/users/lchrusciel/gists{/gist_id}","starred_url":"https://api.github.com/users/lchrusciel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lchrusciel/subscriptions","organizations_url":"https://api.github.com/users/lchrusciel/orgs","repos_url":"https://api.github.com/users/lchrusciel/repos","events_url":"https://api.github.com/users/lchrusciel/events{/privacy}","received_events_url":"https://api.github.com/users/lchrusciel/received_events","type":"User","site_admin":false},"body":"| Q             | A\r\n| ------------- | ---\r\n| Bug fix?      | yes\r\n| New feature?  | yes\r\n| BC breaks?    | no\r\n| Deprecations? | no\r\n| Fixed tickets | #3468 #1931\r\n| License       | MIT\r\n| Doc PR        | [#371](https://github.com/Sylius/Sylius-Docs/pull/372)\r\n\r\nI want to introduce initial tests for Sylius API. The previous ApiTestCase was removed from Sylius and after small refactoring and a few improvements we prepared a stand-alone library [Lakion ApiTestCase](https://github.com/Lakion/ApiTestCase). I added this library to composer and wrote some sample test for Shipping Categories. I want to test all available endpoints so feel free to help me with this task.\r\n\r\n","created_at":"2015-12-10T15:30:07Z","updated_at":"2015-12-11T09:13:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0e30a75175b1c71b5237c788a7978b0b6d6239ed","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Sylius/Sylius/pulls/3701/commits","review_comments_url":"https://api.github.com/repos/Sylius/Sylius/pulls/3701/comments","review_comment_url":"https://api.github.com/repos/Sylius/Sylius/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Sylius/Sylius/issues/3701/comments","statuses_url":"https://api.github.com/repos/Sylius/Sylius/statuses/b892ce85b4c687ca62b2a8ff640f34c6f17baf3e","head":{"label":"lchrusciel:lets-test-some-apis","ref":"lets-test-some-apis","sha":"b892ce85b4c687ca62b2a8ff640f34c6f17baf3e","user":{"login":"lchrusciel","id":6213903,"avatar_url":"https://avatars.githubusercontent.com/u/6213903?v=3","gravatar_id":"","url":"https://api.github.com/users/lchrusciel","html_url":"https://github.com/lchrusciel","followers_url":"https://api.github.com/users/lchrusciel/followers","following_url":"https://api.github.com/users/lchrusciel/following{/other_user}","gists_url":"https://api.github.com/users/lchrusciel/gists{/gist_id}","starred_url":"https://api.github.com/users/lchrusciel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lchrusciel/subscriptions","organizations_url":"https://api.github.com/users/lchrusciel/orgs","repos_url":"https://api.github.com/users/lchrusciel/repos","events_url":"https://api.github.com/users/lchrusciel/events{/privacy}","received_events_url":"https://api.github.com/users/lchrusciel/received_events","type":"User","site_admin":false},"repo":{"id":27534661,"name":"Sylius","full_name":"lchrusciel/Sylius","owner":{"login":"lchrusciel","id":6213903,"avatar_url":"https://avatars.githubusercontent.com/u/6213903?v=3","gravatar_id":"","url":"https://api.github.com/users/lchrusciel","html_url":"https://github.com/lchrusciel","followers_url":"https://api.github.com/users/lchrusciel/followers","following_url":"https://api.github.com/users/lchrusciel/following{/other_user}","gists_url":"https://api.github.com/users/lchrusciel/gists{/gist_id}","starred_url":"https://api.github.com/users/lchrusciel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lchrusciel/subscriptions","organizations_url":"https://api.github.com/users/lchrusciel/orgs","repos_url":"https://api.github.com/users/lchrusciel/repos","events_url":"https://api.github.com/users/lchrusciel/events{/privacy}","received_events_url":"https://api.github.com/users/lchrusciel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lchrusciel/Sylius","description":"Modern e-commerce for PHP, based on the Symfony2 framework.","fork":true,"url":"https://api.github.com/repos/lchrusciel/Sylius","forks_url":"https://api.github.com/repos/lchrusciel/Sylius/forks","keys_url":"https://api.github.com/repos/lchrusciel/Sylius/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lchrusciel/Sylius/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lchrusciel/Sylius/teams","hooks_url":"https://api.github.com/repos/lchrusciel/Sylius/hooks","issue_events_url":"https://api.github.com/repos/lchrusciel/Sylius/issues/events{/number}","events_url":"https://api.github.com/repos/lchrusciel/Sylius/events","assignees_url":"https://api.github.com/repos/lchrusciel/Sylius/assignees{/user}","branches_url":"https://api.github.com/repos/lchrusciel/Sylius/branches{/branch}","tags_url":"https://api.github.com/repos/lchrusciel/Sylius/tags","blobs_url":"https://api.github.com/repos/lchrusciel/Sylius/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lchrusciel/Sylius/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lchrusciel/Sylius/git/refs{/sha}","trees_url":"https://api.github.com/repos/lchrusciel/Sylius/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lchrusciel/Sylius/statuses/{sha}","languages_url":"https://api.github.com/repos/lchrusciel/Sylius/languages","stargazers_url":"https://api.github.com/repos/lchrusciel/Sylius/stargazers","contributors_url":"https://api.github.com/repos/lchrusciel/Sylius/contributors","subscribers_url":"https://api.github.com/repos/lchrusciel/Sylius/subscribers","subscription_url":"https://api.github.com/repos/lchrusciel/Sylius/subscription","commits_url":"https://api.github.com/repos/lchrusciel/Sylius/commits{/sha}","git_commits_url":"https://api.github.com/repos/lchrusciel/Sylius/git/commits{/sha}","comments_url":"https://api.github.com/repos/lchrusciel/Sylius/comments{/number}","issue_comment_url":"https://api.github.com/repos/lchrusciel/Sylius/issues/comments{/number}","contents_url":"https://api.github.com/repos/lchrusciel/Sylius/contents/{+path}","compare_url":"https://api.github.com/repos/lchrusciel/Sylius/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lchrusciel/Sylius/merges","archive_url":"https://api.github.com/repos/lchrusciel/Sylius/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lchrusciel/Sylius/downloads","issues_url":"https://api.github.com/repos/lchrusciel/Sylius/issues{/number}","pulls_url":"https://api.github.com/repos/lchrusciel/Sylius/pulls{/number}","milestones_url":"https://api.github.com/repos/lchrusciel/Sylius/milestones{/number}","notifications_url":"https://api.github.com/repos/lchrusciel/Sylius/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lchrusciel/Sylius/labels{/name}","releases_url":"https://api.github.com/repos/lchrusciel/Sylius/releases{/id}","created_at":"2014-12-04T10:09:34Z","updated_at":"2015-02-03T09:27:16Z","pushed_at":"2015-12-10T15:37:58Z","git_url":"git://github.com/lchrusciel/Sylius.git","ssh_url":"git@github.com:lchrusciel/Sylius.git","clone_url":"https://github.com/lchrusciel/Sylius.git","svn_url":"https://github.com/lchrusciel/Sylius","homepage":"Sylius.org","size":20605,"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":"master"}},"base":{"label":"Sylius:master","ref":"master","sha":"6bdbdb0a805bececb3558d82b840cddaf65f4380","user":{"login":"Sylius","id":719423,"avatar_url":"https://avatars.githubusercontent.com/u/719423?v=3","gravatar_id":"","url":"https://api.github.com/users/Sylius","html_url":"https://github.com/Sylius","followers_url":"https://api.github.com/users/Sylius/followers","following_url":"https://api.github.com/users/Sylius/following{/other_user}","gists_url":"https://api.github.com/users/Sylius/gists{/gist_id}","starred_url":"https://api.github.com/users/Sylius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sylius/subscriptions","organizations_url":"https://api.github.com/users/Sylius/orgs","repos_url":"https://api.github.com/users/Sylius/repos","events_url":"https://api.github.com/users/Sylius/events{/privacy}","received_events_url":"https://api.github.com/users/Sylius/received_events","type":"Organization","site_admin":false},"repo":{"id":2717549,"name":"Sylius","full_name":"Sylius/Sylius","owner":{"login":"Sylius","id":719423,"avatar_url":"https://avatars.githubusercontent.com/u/719423?v=3","gravatar_id":"","url":"https://api.github.com/users/Sylius","html_url":"https://github.com/Sylius","followers_url":"https://api.github.com/users/Sylius/followers","following_url":"https://api.github.com/users/Sylius/following{/other_user}","gists_url":"https://api.github.com/users/Sylius/gists{/gist_id}","starred_url":"https://api.github.com/users/Sylius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sylius/subscriptions","organizations_url":"https://api.github.com/users/Sylius/orgs","repos_url":"https://api.github.com/users/Sylius/repos","events_url":"https://api.github.com/users/Sylius/events{/privacy}","received_events_url":"https://api.github.com/users/Sylius/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Sylius/Sylius","description":"Modern e-commerce for PHP, based on the Symfony2 framework.","fork":false,"url":"https://api.github.com/repos/Sylius/Sylius","forks_url":"https://api.github.com/repos/Sylius/Sylius/forks","keys_url":"https://api.github.com/repos/Sylius/Sylius/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sylius/Sylius/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sylius/Sylius/teams","hooks_url":"https://api.github.com/repos/Sylius/Sylius/hooks","issue_events_url":"https://api.github.com/repos/Sylius/Sylius/issues/events{/number}","events_url":"https://api.github.com/repos/Sylius/Sylius/events","assignees_url":"https://api.github.com/repos/Sylius/Sylius/assignees{/user}","branches_url":"https://api.github.com/repos/Sylius/Sylius/branches{/branch}","tags_url":"https://api.github.com/repos/Sylius/Sylius/tags","blobs_url":"https://api.github.com/repos/Sylius/Sylius/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sylius/Sylius/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sylius/Sylius/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sylius/Sylius/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sylius/Sylius/statuses/{sha}","languages_url":"https://api.github.com/repos/Sylius/Sylius/languages","stargazers_url":"https://api.github.com/repos/Sylius/Sylius/stargazers","contributors_url":"https://api.github.com/repos/Sylius/Sylius/contributors","subscribers_url":"https://api.github.com/repos/Sylius/Sylius/subscribers","subscription_url":"https://api.github.com/repos/Sylius/Sylius/subscription","commits_url":"https://api.github.com/repos/Sylius/Sylius/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sylius/Sylius/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sylius/Sylius/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sylius/Sylius/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sylius/Sylius/contents/{+path}","compare_url":"https://api.github.com/repos/Sylius/Sylius/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sylius/Sylius/merges","archive_url":"https://api.github.com/repos/Sylius/Sylius/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sylius/Sylius/downloads","issues_url":"https://api.github.com/repos/Sylius/Sylius/issues{/number}","pulls_url":"https://api.github.com/repos/Sylius/Sylius/pulls{/number}","milestones_url":"https://api.github.com/repos/Sylius/Sylius/milestones{/number}","notifications_url":"https://api.github.com/repos/Sylius/Sylius/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sylius/Sylius/labels{/name}","releases_url":"https://api.github.com/repos/Sylius/Sylius/releases{/id}","created_at":"2011-11-05T22:05:52Z","updated_at":"2015-12-09T15:18:41Z","pushed_at":"2015-12-11T09:06:27Z","git_url":"git://github.com/Sylius/Sylius.git","ssh_url":"git@github.com:Sylius/Sylius.git","clone_url":"https://github.com/Sylius/Sylius.git","svn_url":"https://github.com/Sylius/Sylius","homepage":"Sylius.org","size":46364,"stargazers_count":2079,"watchers_count":2079,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":756,"mirror_url":null,"open_issues_count":540,"forks":756,"open_issues":540,"watchers":2079,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Sylius/Sylius/pulls/3701"},"html":{"href":"https://github.com/Sylius/Sylius/pull/3701"},"issue":{"href":"https://api.github.com/repos/Sylius/Sylius/issues/3701"},"comments":{"href":"https://api.github.com/repos/Sylius/Sylius/issues/3701/comments"},"review_comments":{"href":"https://api.github.com/repos/Sylius/Sylius/pulls/3701/comments"},"review_comment":{"href":"https://api.github.com/repos/Sylius/Sylius/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Sylius/Sylius/pulls/3701/commits"},"statuses":{"href":"https://api.github.com/repos/Sylius/Sylius/statuses/b892ce85b4c687ca62b2a8ff640f34c6f17baf3e"}}}}