{"action":"created","comment":{"url":"https://api.github.com/repos/cakephp/docs/pulls/comments/143344407","pull_request_review_id":67846880,"id":143344407,"diff_hunk":"@@ -886,7 +886,7 @@ method key::\n                 'body' => 'Secret sauce'\n             )\n         );\n-        $this->testAction('/posts/add', array('data' => $data, 'method' => 'get'));\n+        $this->testAction('/posts/add', array('url' => $data, 'method' => 'get'));","path":"en/development/testing.rst","position":14,"original_position":14,"commit_id":"73d4567a7a862102c9adb67d5ca692ebf7027c24","original_commit_id":"02bdc3a8137586f8d51ad3a6a1135217762e2b25","user":{"login":"markstory","id":24086,"avatar_url":"https://avatars3.githubusercontent.com/u/24086?v=4","gravatar_id":"","url":"https://api.github.com/users/markstory","html_url":"https://github.com/markstory","followers_url":"https://api.github.com/users/markstory/followers","following_url":"https://api.github.com/users/markstory/following{/other_user}","gists_url":"https://api.github.com/users/markstory/gists{/gist_id}","starred_url":"https://api.github.com/users/markstory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstory/subscriptions","organizations_url":"https://api.github.com/users/markstory/orgs","repos_url":"https://api.github.com/users/markstory/repos","events_url":"https://api.github.com/users/markstory/events{/privacy}","received_events_url":"https://api.github.com/users/markstory/received_events","type":"User","site_admin":false},"body":"This https://github.com/cakephp/cakephp/blob/e889535e4172feeeac77268b0f072823a34199cd/lib/Cake/TestSuite/ControllerTestCase.php#L242-L250 makes me think that the current documentation is correct. Are you sure you're not confusing `testAction()` which is used in test cases, and `requestAction()` which is used for sub-requests? You're completely right about how `requestAction()` works with `$extra['url']`.","created_at":"2017-10-08T01:51:16Z","updated_at":"2017-10-08T01:51:16Z","html_url":"https://github.com/cakephp/docs/pull/5295#discussion_r143344407","pull_request_url":"https://api.github.com/repos/cakephp/docs/pulls/5295","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/cakephp/docs/pulls/comments/143344407"},"html":{"href":"https://github.com/cakephp/docs/pull/5295#discussion_r143344407"},"pull_request":{"href":"https://api.github.com/repos/cakephp/docs/pulls/5295"}},"in_reply_to_id":143291064},"pull_request":{"url":"https://api.github.com/repos/cakephp/docs/pulls/5295","id":145242743,"html_url":"https://github.com/cakephp/docs/pull/5295","diff_url":"https://github.com/cakephp/docs/pull/5295.diff","patch_url":"https://github.com/cakephp/docs/pull/5295.patch","issue_url":"https://api.github.com/repos/cakephp/docs/issues/5295","number":5295,"state":"open","locked":false,"title":"'url' key is the GET data parameter and  'data' key stands for the POST o…","user":{"login":"b23prodtm","id":5566338,"avatar_url":"https://avatars2.githubusercontent.com/u/5566338?v=4","gravatar_id":"","url":"https://api.github.com/users/b23prodtm","html_url":"https://github.com/b23prodtm","followers_url":"https://api.github.com/users/b23prodtm/followers","following_url":"https://api.github.com/users/b23prodtm/following{/other_user}","gists_url":"https://api.github.com/users/b23prodtm/gists{/gist_id}","starred_url":"https://api.github.com/users/b23prodtm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b23prodtm/subscriptions","organizations_url":"https://api.github.com/users/b23prodtm/orgs","repos_url":"https://api.github.com/users/b23prodtm/repos","events_url":"https://api.github.com/users/b23prodtm/events{/privacy}","received_events_url":"https://api.github.com/users/b23prodtm/received_events","type":"User","site_admin":false},"body":"…nes for testAction()\r\n\r\nCorrect information was found in the Controller::requestAction() documentation.","created_at":"2017-10-06T20:46:22Z","updated_at":"2017-10-08T01:51:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"27b790dd2ec8e9bc7e26e5abd82d1671a9eebdd0","assignee":{"login":"markstory","id":24086,"avatar_url":"https://avatars3.githubusercontent.com/u/24086?v=4","gravatar_id":"","url":"https://api.github.com/users/markstory","html_url":"https://github.com/markstory","followers_url":"https://api.github.com/users/markstory/followers","following_url":"https://api.github.com/users/markstory/following{/other_user}","gists_url":"https://api.github.com/users/markstory/gists{/gist_id}","starred_url":"https://api.github.com/users/markstory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstory/subscriptions","organizations_url":"https://api.github.com/users/markstory/orgs","repos_url":"https://api.github.com/users/markstory/repos","events_url":"https://api.github.com/users/markstory/events{/privacy}","received_events_url":"https://api.github.com/users/markstory/received_events","type":"User","site_admin":false},"assignees":[{"login":"markstory","id":24086,"avatar_url":"https://avatars3.githubusercontent.com/u/24086?v=4","gravatar_id":"","url":"https://api.github.com/users/markstory","html_url":"https://github.com/markstory","followers_url":"https://api.github.com/users/markstory/followers","following_url":"https://api.github.com/users/markstory/following{/other_user}","gists_url":"https://api.github.com/users/markstory/gists{/gist_id}","starred_url":"https://api.github.com/users/markstory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstory/subscriptions","organizations_url":"https://api.github.com/users/markstory/orgs","repos_url":"https://api.github.com/users/markstory/repos","events_url":"https://api.github.com/users/markstory/events{/privacy}","received_events_url":"https://api.github.com/users/markstory/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":{"url":"https://api.github.com/repos/cakephp/docs/milestones/2","html_url":"https://github.com/cakephp/docs/milestone/2","labels_url":"https://api.github.com/repos/cakephp/docs/milestones/2/labels","id":748921,"number":2,"title":"2.x","description":null,"creator":{"login":"ravage84","id":625761,"avatar_url":"https://avatars1.githubusercontent.com/u/625761?v=4","gravatar_id":"","url":"https://api.github.com/users/ravage84","html_url":"https://github.com/ravage84","followers_url":"https://api.github.com/users/ravage84/followers","following_url":"https://api.github.com/users/ravage84/following{/other_user}","gists_url":"https://api.github.com/users/ravage84/gists{/gist_id}","starred_url":"https://api.github.com/users/ravage84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ravage84/subscriptions","organizations_url":"https://api.github.com/users/ravage84/orgs","repos_url":"https://api.github.com/users/ravage84/repos","events_url":"https://api.github.com/users/ravage84/events{/privacy}","received_events_url":"https://api.github.com/users/ravage84/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":585,"state":"open","created_at":"2014-08-10T19:12:23Z","updated_at":"2017-10-06T20:48:03Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/cakephp/docs/pulls/5295/commits","review_comments_url":"https://api.github.com/repos/cakephp/docs/pulls/5295/comments","review_comment_url":"https://api.github.com/repos/cakephp/docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cakephp/docs/issues/5295/comments","statuses_url":"https://api.github.com/repos/cakephp/docs/statuses/73d4567a7a862102c9adb67d5ca692ebf7027c24","head":{"label":"b23prodtm:patch-1","ref":"patch-1","sha":"73d4567a7a862102c9adb67d5ca692ebf7027c24","user":{"login":"b23prodtm","id":5566338,"avatar_url":"https://avatars2.githubusercontent.com/u/5566338?v=4","gravatar_id":"","url":"https://api.github.com/users/b23prodtm","html_url":"https://github.com/b23prodtm","followers_url":"https://api.github.com/users/b23prodtm/followers","following_url":"https://api.github.com/users/b23prodtm/following{/other_user}","gists_url":"https://api.github.com/users/b23prodtm/gists{/gist_id}","starred_url":"https://api.github.com/users/b23prodtm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b23prodtm/subscriptions","organizations_url":"https://api.github.com/users/b23prodtm/orgs","repos_url":"https://api.github.com/users/b23prodtm/repos","events_url":"https://api.github.com/users/b23prodtm/events{/privacy}","received_events_url":"https://api.github.com/users/b23prodtm/received_events","type":"User","site_admin":false},"repo":{"id":106048457,"name":"docs","full_name":"b23prodtm/docs","owner":{"login":"b23prodtm","id":5566338,"avatar_url":"https://avatars2.githubusercontent.com/u/5566338?v=4","gravatar_id":"","url":"https://api.github.com/users/b23prodtm","html_url":"https://github.com/b23prodtm","followers_url":"https://api.github.com/users/b23prodtm/followers","following_url":"https://api.github.com/users/b23prodtm/following{/other_user}","gists_url":"https://api.github.com/users/b23prodtm/gists{/gist_id}","starred_url":"https://api.github.com/users/b23prodtm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b23prodtm/subscriptions","organizations_url":"https://api.github.com/users/b23prodtm/orgs","repos_url":"https://api.github.com/users/b23prodtm/repos","events_url":"https://api.github.com/users/b23prodtm/events{/privacy}","received_events_url":"https://api.github.com/users/b23prodtm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/b23prodtm/docs","description":"CakePHP CookBook","fork":true,"url":"https://api.github.com/repos/b23prodtm/docs","forks_url":"https://api.github.com/repos/b23prodtm/docs/forks","keys_url":"https://api.github.com/repos/b23prodtm/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/b23prodtm/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/b23prodtm/docs/teams","hooks_url":"https://api.github.com/repos/b23prodtm/docs/hooks","issue_events_url":"https://api.github.com/repos/b23prodtm/docs/issues/events{/number}","events_url":"https://api.github.com/repos/b23prodtm/docs/events","assignees_url":"https://api.github.com/repos/b23prodtm/docs/assignees{/user}","branches_url":"https://api.github.com/repos/b23prodtm/docs/branches{/branch}","tags_url":"https://api.github.com/repos/b23prodtm/docs/tags","blobs_url":"https://api.github.com/repos/b23prodtm/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/b23prodtm/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/b23prodtm/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/b23prodtm/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/b23prodtm/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/b23prodtm/docs/languages","stargazers_url":"https://api.github.com/repos/b23prodtm/docs/stargazers","contributors_url":"https://api.github.com/repos/b23prodtm/docs/contributors","subscribers_url":"https://api.github.com/repos/b23prodtm/docs/subscribers","subscription_url":"https://api.github.com/repos/b23prodtm/docs/subscription","commits_url":"https://api.github.com/repos/b23prodtm/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/b23prodtm/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/b23prodtm/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/b23prodtm/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/b23prodtm/docs/contents/{+path}","compare_url":"https://api.github.com/repos/b23prodtm/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/b23prodtm/docs/merges","archive_url":"https://api.github.com/repos/b23prodtm/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/b23prodtm/docs/downloads","issues_url":"https://api.github.com/repos/b23prodtm/docs/issues{/number}","pulls_url":"https://api.github.com/repos/b23prodtm/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/b23prodtm/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/b23prodtm/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/b23prodtm/docs/labels{/name}","releases_url":"https://api.github.com/repos/b23prodtm/docs/releases{/id}","deployments_url":"https://api.github.com/repos/b23prodtm/docs/deployments","created_at":"2017-10-06T20:39:53Z","updated_at":"2017-10-06T20:39:59Z","pushed_at":"2017-10-06T20:49:07Z","git_url":"git://github.com/b23prodtm/docs.git","ssh_url":"git@github.com:b23prodtm/docs.git","clone_url":"https://github.com/b23prodtm/docs.git","svn_url":"https://github.com/b23prodtm/docs","homepage":"http://book.cakephp.org","size":57308,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"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":"3.0"}},"base":{"label":"cakephp:master","ref":"master","sha":"3f595cbe3524937a57ddb8668852c2c473787be6","user":{"login":"cakephp","id":23666,"avatar_url":"https://avatars0.githubusercontent.com/u/23666?v=4","gravatar_id":"","url":"https://api.github.com/users/cakephp","html_url":"https://github.com/cakephp","followers_url":"https://api.github.com/users/cakephp/followers","following_url":"https://api.github.com/users/cakephp/following{/other_user}","gists_url":"https://api.github.com/users/cakephp/gists{/gist_id}","starred_url":"https://api.github.com/users/cakephp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cakephp/subscriptions","organizations_url":"https://api.github.com/users/cakephp/orgs","repos_url":"https://api.github.com/users/cakephp/repos","events_url":"https://api.github.com/users/cakephp/events{/privacy}","received_events_url":"https://api.github.com/users/cakephp/received_events","type":"Organization","site_admin":false},"repo":{"id":1514950,"name":"docs","full_name":"cakephp/docs","owner":{"login":"cakephp","id":23666,"avatar_url":"https://avatars0.githubusercontent.com/u/23666?v=4","gravatar_id":"","url":"https://api.github.com/users/cakephp","html_url":"https://github.com/cakephp","followers_url":"https://api.github.com/users/cakephp/followers","following_url":"https://api.github.com/users/cakephp/following{/other_user}","gists_url":"https://api.github.com/users/cakephp/gists{/gist_id}","starred_url":"https://api.github.com/users/cakephp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cakephp/subscriptions","organizations_url":"https://api.github.com/users/cakephp/orgs","repos_url":"https://api.github.com/users/cakephp/repos","events_url":"https://api.github.com/users/cakephp/events{/privacy}","received_events_url":"https://api.github.com/users/cakephp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cakephp/docs","description":"CakePHP CookBook","fork":false,"url":"https://api.github.com/repos/cakephp/docs","forks_url":"https://api.github.com/repos/cakephp/docs/forks","keys_url":"https://api.github.com/repos/cakephp/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cakephp/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cakephp/docs/teams","hooks_url":"https://api.github.com/repos/cakephp/docs/hooks","issue_events_url":"https://api.github.com/repos/cakephp/docs/issues/events{/number}","events_url":"https://api.github.com/repos/cakephp/docs/events","assignees_url":"https://api.github.com/repos/cakephp/docs/assignees{/user}","branches_url":"https://api.github.com/repos/cakephp/docs/branches{/branch}","tags_url":"https://api.github.com/repos/cakephp/docs/tags","blobs_url":"https://api.github.com/repos/cakephp/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cakephp/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cakephp/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/cakephp/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cakephp/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/cakephp/docs/languages","stargazers_url":"https://api.github.com/repos/cakephp/docs/stargazers","contributors_url":"https://api.github.com/repos/cakephp/docs/contributors","subscribers_url":"https://api.github.com/repos/cakephp/docs/subscribers","subscription_url":"https://api.github.com/repos/cakephp/docs/subscription","commits_url":"https://api.github.com/repos/cakephp/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/cakephp/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/cakephp/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/cakephp/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/cakephp/docs/contents/{+path}","compare_url":"https://api.github.com/repos/cakephp/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cakephp/docs/merges","archive_url":"https://api.github.com/repos/cakephp/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cakephp/docs/downloads","issues_url":"https://api.github.com/repos/cakephp/docs/issues{/number}","pulls_url":"https://api.github.com/repos/cakephp/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/cakephp/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/cakephp/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cakephp/docs/labels{/name}","releases_url":"https://api.github.com/repos/cakephp/docs/releases{/id}","deployments_url":"https://api.github.com/repos/cakephp/docs/deployments","created_at":"2011-03-23T04:54:13Z","updated_at":"2017-09-20T12:05:13Z","pushed_at":"2017-10-07T16:56:04Z","git_url":"git://github.com/cakephp/docs.git","ssh_url":"git@github.com:cakephp/docs.git","clone_url":"https://github.com/cakephp/docs.git","svn_url":"https://github.com/cakephp/docs","homepage":"http://book.cakephp.org","size":57304,"stargazers_count":588,"watchers_count":588,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2407,"mirror_url":null,"open_issues_count":51,"forks":2407,"open_issues":51,"watchers":588,"default_branch":"3.0"}},"_links":{"self":{"href":"https://api.github.com/repos/cakephp/docs/pulls/5295"},"html":{"href":"https://github.com/cakephp/docs/pull/5295"},"issue":{"href":"https://api.github.com/repos/cakephp/docs/issues/5295"},"comments":{"href":"https://api.github.com/repos/cakephp/docs/issues/5295/comments"},"review_comments":{"href":"https://api.github.com/repos/cakephp/docs/pulls/5295/comments"},"review_comment":{"href":"https://api.github.com/repos/cakephp/docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cakephp/docs/pulls/5295/commits"},"statuses":{"href":"https://api.github.com/repos/cakephp/docs/statuses/73d4567a7a862102c9adb67d5ca692ebf7027c24"}},"author_association":"NONE"}}
{"actor":{"display_login":"markstory"}}