{"action":"created","comment":{"url":"https://api.github.com/repos/Lakion/ApiTestCase/pulls/comments/47077612","id":47077612,"diff_hunk":"@@ -38,21 +38,29 @@ To customize your test suite configuration you can add a few more options to php\n     <server name=\"KERNEL_DIR\" value=\"/path/to/dir/with/kernel\" />\n     <server name=\"EXPECTED_RESPONSE_DIR\" value=\"/path/to/expected/responses/\" />\n     <server name=\"MOCKED_RESPONSE_DIR\" value=\"/path/to/mocked/responses/\" />\n+    <server name=\"FIXTURES_DIR\" value=\"/../src/DataFixtures/ORM/\" />\n     <server name=\"OPEN_ERROR_IN_BROWSER\" value=\"true/false\" />\n     <server name=\"OPEN_BROWSER_COMMAND\" value=\"open %s\" />\n </php>\n ```\n  * `KERNEL_DIR` variable contains a path to kernel of your project. If not set, WebTestCase will look for AppKernel in the folder where you have your phpunit.xml file.\n  * `EXPECTED_RESPONSE_DIR` and `MOCKED_RESPONSE_DIR` variables contain paths to folders with expected and mocked responses. `EXPECTED_RESPONSE_DIR` is used when API result is compared with existing json file. `MOCKED_RESPONSE_DIR` should contains files with mocked responses from outside API's. Both variable can have same value but we recommend to keep it separated. If these values aren't set, ApiTestCase will try to guess location of responses. It will try to look for the responses in a following folders '../Responses/Expected' and '../Responses/Mocked' relatively located to your controller test class.\n+ * `FIXTURES_DIR` variable contains a path to folder with your data fixtures. If this variable isn't set it will check default folder which is `/../src/DataFixtures/ORM/`. ApiTestCase throws RunTimeException if folder doesn't exist or there won't be any files to load.","path":"README.md","position":11,"original_position":11,"commit_id":"94467ef1b2ea668f22f68b3f8d50b9c2e8d0f98e","original_commit_id":"94467ef1b2ea668f22f68b3f8d50b9c2e8d0f98e","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":"And no, `/../src/DataFixtures/ORM/` is not a default folder. Default forder is `/../DataFixtures/ORM/` relatively located to your test class.","created_at":"2015-12-09T11:10:32Z","updated_at":"2015-12-09T11:10:32Z","html_url":"https://github.com/Lakion/ApiTestCase/pull/17#discussion_r47077612","pull_request_url":"https://api.github.com/repos/Lakion/ApiTestCase/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/Lakion/ApiTestCase/pulls/comments/47077612"},"html":{"href":"https://github.com/Lakion/ApiTestCase/pull/17#discussion_r47077612"},"pull_request":{"href":"https://api.github.com/repos/Lakion/ApiTestCase/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/Lakion/ApiTestCase/pulls/17","id":53095019,"html_url":"https://github.com/Lakion/ApiTestCase/pull/17","diff_url":"https://github.com/Lakion/ApiTestCase/pull/17.diff","patch_url":"https://github.com/Lakion/ApiTestCase/pull/17.patch","issue_url":"https://api.github.com/repos/Lakion/ApiTestCase/issues/17","number":17,"state":"open","locked":false,"title":"Update readme, adding section with data fixtures","user":{"login":"Arminek","id":6368946,"avatar_url":"https://avatars.githubusercontent.com/u/6368946?v=3","gravatar_id":"","url":"https://api.github.com/users/Arminek","html_url":"https://github.com/Arminek","followers_url":"https://api.github.com/users/Arminek/followers","following_url":"https://api.github.com/users/Arminek/following{/other_user}","gists_url":"https://api.github.com/users/Arminek/gists{/gist_id}","starred_url":"https://api.github.com/users/Arminek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arminek/subscriptions","organizations_url":"https://api.github.com/users/Arminek/orgs","repos_url":"https://api.github.com/users/Arminek/repos","events_url":"https://api.github.com/users/Arminek/events{/privacy}","received_events_url":"https://api.github.com/users/Arminek/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-09T09:33:31Z","updated_at":"2015-12-09T11:10:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"42c2ed43d9dae6439e7063771e0df365399c5eee","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Lakion/ApiTestCase/pulls/17/commits","review_comments_url":"https://api.github.com/repos/Lakion/ApiTestCase/pulls/17/comments","review_comment_url":"https://api.github.com/repos/Lakion/ApiTestCase/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Lakion/ApiTestCase/issues/17/comments","statuses_url":"https://api.github.com/repos/Lakion/ApiTestCase/statuses/94467ef1b2ea668f22f68b3f8d50b9c2e8d0f98e","head":{"label":"Lakion:api-test-readme","ref":"api-test-readme","sha":"94467ef1b2ea668f22f68b3f8d50b9c2e8d0f98e","user":{"login":"Lakion","id":6876915,"avatar_url":"https://avatars.githubusercontent.com/u/6876915?v=3","gravatar_id":"","url":"https://api.github.com/users/Lakion","html_url":"https://github.com/Lakion","followers_url":"https://api.github.com/users/Lakion/followers","following_url":"https://api.github.com/users/Lakion/following{/other_user}","gists_url":"https://api.github.com/users/Lakion/gists{/gist_id}","starred_url":"https://api.github.com/users/Lakion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lakion/subscriptions","organizations_url":"https://api.github.com/users/Lakion/orgs","repos_url":"https://api.github.com/users/Lakion/repos","events_url":"https://api.github.com/users/Lakion/events{/privacy}","received_events_url":"https://api.github.com/users/Lakion/received_events","type":"Organization","site_admin":false},"repo":{"id":45345838,"name":"ApiTestCase","full_name":"Lakion/ApiTestCase","owner":{"login":"Lakion","id":6876915,"avatar_url":"https://avatars.githubusercontent.com/u/6876915?v=3","gravatar_id":"","url":"https://api.github.com/users/Lakion","html_url":"https://github.com/Lakion","followers_url":"https://api.github.com/users/Lakion/followers","following_url":"https://api.github.com/users/Lakion/following{/other_user}","gists_url":"https://api.github.com/users/Lakion/gists{/gist_id}","starred_url":"https://api.github.com/users/Lakion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lakion/subscriptions","organizations_url":"https://api.github.com/users/Lakion/orgs","repos_url":"https://api.github.com/users/Lakion/repos","events_url":"https://api.github.com/users/Lakion/events{/privacy}","received_events_url":"https://api.github.com/users/Lakion/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Lakion/ApiTestCase","description":"Handy PHPUnit test case for testing JSON APIs in your Symfony applications.","fork":false,"url":"https://api.github.com/repos/Lakion/ApiTestCase","forks_url":"https://api.github.com/repos/Lakion/ApiTestCase/forks","keys_url":"https://api.github.com/repos/Lakion/ApiTestCase/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Lakion/ApiTestCase/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Lakion/ApiTestCase/teams","hooks_url":"https://api.github.com/repos/Lakion/ApiTestCase/hooks","issue_events_url":"https://api.github.com/repos/Lakion/ApiTestCase/issues/events{/number}","events_url":"https://api.github.com/repos/Lakion/ApiTestCase/events","assignees_url":"https://api.github.com/repos/Lakion/ApiTestCase/assignees{/user}","branches_url":"https://api.github.com/repos/Lakion/ApiTestCase/branches{/branch}","tags_url":"https://api.github.com/repos/Lakion/ApiTestCase/tags","blobs_url":"https://api.github.com/repos/Lakion/ApiTestCase/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Lakion/ApiTestCase/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Lakion/ApiTestCase/git/refs{/sha}","trees_url":"https://api.github.com/repos/Lakion/ApiTestCase/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Lakion/ApiTestCase/statuses/{sha}","languages_url":"https://api.github.com/repos/Lakion/ApiTestCase/languages","stargazers_url":"https://api.github.com/repos/Lakion/ApiTestCase/stargazers","contributors_url":"https://api.github.com/repos/Lakion/ApiTestCase/contributors","subscribers_url":"https://api.github.com/repos/Lakion/ApiTestCase/subscribers","subscription_url":"https://api.github.com/repos/Lakion/ApiTestCase/subscription","commits_url":"https://api.github.com/repos/Lakion/ApiTestCase/commits{/sha}","git_commits_url":"https://api.github.com/repos/Lakion/ApiTestCase/git/commits{/sha}","comments_url":"https://api.github.com/repos/Lakion/ApiTestCase/comments{/number}","issue_comment_url":"https://api.github.com/repos/Lakion/ApiTestCase/issues/comments{/number}","contents_url":"https://api.github.com/repos/Lakion/ApiTestCase/contents/{+path}","compare_url":"https://api.github.com/repos/Lakion/ApiTestCase/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Lakion/ApiTestCase/merges","archive_url":"https://api.github.com/repos/Lakion/ApiTestCase/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Lakion/ApiTestCase/downloads","issues_url":"https://api.github.com/repos/Lakion/ApiTestCase/issues{/number}","pulls_url":"https://api.github.com/repos/Lakion/ApiTestCase/pulls{/number}","milestones_url":"https://api.github.com/repos/Lakion/ApiTestCase/milestones{/number}","notifications_url":"https://api.github.com/repos/Lakion/ApiTestCase/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Lakion/ApiTestCase/labels{/name}","releases_url":"https://api.github.com/repos/Lakion/ApiTestCase/releases{/id}","created_at":"2015-11-01T15:30:08Z","updated_at":"2015-12-03T16:24:02Z","pushed_at":"2015-12-09T09:33:31Z","git_url":"git://github.com/Lakion/ApiTestCase.git","ssh_url":"git@github.com:Lakion/ApiTestCase.git","clone_url":"https://github.com/Lakion/ApiTestCase.git","svn_url":"https://github.com/Lakion/ApiTestCase","homepage":"","size":43,"stargazers_count":12,"watchers_count":12,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":12,"default_branch":"master"}},"base":{"label":"Lakion:master","ref":"master","sha":"82f8bf35b1a983d3766750cf3aa740889ea86bd9","user":{"login":"Lakion","id":6876915,"avatar_url":"https://avatars.githubusercontent.com/u/6876915?v=3","gravatar_id":"","url":"https://api.github.com/users/Lakion","html_url":"https://github.com/Lakion","followers_url":"https://api.github.com/users/Lakion/followers","following_url":"https://api.github.com/users/Lakion/following{/other_user}","gists_url":"https://api.github.com/users/Lakion/gists{/gist_id}","starred_url":"https://api.github.com/users/Lakion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lakion/subscriptions","organizations_url":"https://api.github.com/users/Lakion/orgs","repos_url":"https://api.github.com/users/Lakion/repos","events_url":"https://api.github.com/users/Lakion/events{/privacy}","received_events_url":"https://api.github.com/users/Lakion/received_events","type":"Organization","site_admin":false},"repo":{"id":45345838,"name":"ApiTestCase","full_name":"Lakion/ApiTestCase","owner":{"login":"Lakion","id":6876915,"avatar_url":"https://avatars.githubusercontent.com/u/6876915?v=3","gravatar_id":"","url":"https://api.github.com/users/Lakion","html_url":"https://github.com/Lakion","followers_url":"https://api.github.com/users/Lakion/followers","following_url":"https://api.github.com/users/Lakion/following{/other_user}","gists_url":"https://api.github.com/users/Lakion/gists{/gist_id}","starred_url":"https://api.github.com/users/Lakion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lakion/subscriptions","organizations_url":"https://api.github.com/users/Lakion/orgs","repos_url":"https://api.github.com/users/Lakion/repos","events_url":"https://api.github.com/users/Lakion/events{/privacy}","received_events_url":"https://api.github.com/users/Lakion/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Lakion/ApiTestCase","description":"Handy PHPUnit test case for testing JSON APIs in your Symfony applications.","fork":false,"url":"https://api.github.com/repos/Lakion/ApiTestCase","forks_url":"https://api.github.com/repos/Lakion/ApiTestCase/forks","keys_url":"https://api.github.com/repos/Lakion/ApiTestCase/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Lakion/ApiTestCase/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Lakion/ApiTestCase/teams","hooks_url":"https://api.github.com/repos/Lakion/ApiTestCase/hooks","issue_events_url":"https://api.github.com/repos/Lakion/ApiTestCase/issues/events{/number}","events_url":"https://api.github.com/repos/Lakion/ApiTestCase/events","assignees_url":"https://api.github.com/repos/Lakion/ApiTestCase/assignees{/user}","branches_url":"https://api.github.com/repos/Lakion/ApiTestCase/branches{/branch}","tags_url":"https://api.github.com/repos/Lakion/ApiTestCase/tags","blobs_url":"https://api.github.com/repos/Lakion/ApiTestCase/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Lakion/ApiTestCase/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Lakion/ApiTestCase/git/refs{/sha}","trees_url":"https://api.github.com/repos/Lakion/ApiTestCase/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Lakion/ApiTestCase/statuses/{sha}","languages_url":"https://api.github.com/repos/Lakion/ApiTestCase/languages","stargazers_url":"https://api.github.com/repos/Lakion/ApiTestCase/stargazers","contributors_url":"https://api.github.com/repos/Lakion/ApiTestCase/contributors","subscribers_url":"https://api.github.com/repos/Lakion/ApiTestCase/subscribers","subscription_url":"https://api.github.com/repos/Lakion/ApiTestCase/subscription","commits_url":"https://api.github.com/repos/Lakion/ApiTestCase/commits{/sha}","git_commits_url":"https://api.github.com/repos/Lakion/ApiTestCase/git/commits{/sha}","comments_url":"https://api.github.com/repos/Lakion/ApiTestCase/comments{/number}","issue_comment_url":"https://api.github.com/repos/Lakion/ApiTestCase/issues/comments{/number}","contents_url":"https://api.github.com/repos/Lakion/ApiTestCase/contents/{+path}","compare_url":"https://api.github.com/repos/Lakion/ApiTestCase/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Lakion/ApiTestCase/merges","archive_url":"https://api.github.com/repos/Lakion/ApiTestCase/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Lakion/ApiTestCase/downloads","issues_url":"https://api.github.com/repos/Lakion/ApiTestCase/issues{/number}","pulls_url":"https://api.github.com/repos/Lakion/ApiTestCase/pulls{/number}","milestones_url":"https://api.github.com/repos/Lakion/ApiTestCase/milestones{/number}","notifications_url":"https://api.github.com/repos/Lakion/ApiTestCase/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Lakion/ApiTestCase/labels{/name}","releases_url":"https://api.github.com/repos/Lakion/ApiTestCase/releases{/id}","created_at":"2015-11-01T15:30:08Z","updated_at":"2015-12-03T16:24:02Z","pushed_at":"2015-12-09T09:33:31Z","git_url":"git://github.com/Lakion/ApiTestCase.git","ssh_url":"git@github.com:Lakion/ApiTestCase.git","clone_url":"https://github.com/Lakion/ApiTestCase.git","svn_url":"https://github.com/Lakion/ApiTestCase","homepage":"","size":43,"stargazers_count":12,"watchers_count":12,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Lakion/ApiTestCase/pulls/17"},"html":{"href":"https://github.com/Lakion/ApiTestCase/pull/17"},"issue":{"href":"https://api.github.com/repos/Lakion/ApiTestCase/issues/17"},"comments":{"href":"https://api.github.com/repos/Lakion/ApiTestCase/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/Lakion/ApiTestCase/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/Lakion/ApiTestCase/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Lakion/ApiTestCase/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/Lakion/ApiTestCase/statuses/94467ef1b2ea668f22f68b3f8d50b9c2e8d0f98e"}}}}