{"action":"created","comment":{"url":"https://api.github.com/repos/Getbeans/Beans/pulls/comments/185924740","pull_request_review_id":117411766,"id":185924740,"diff_hunk":"@@ -0,0 +1,57 @@\n+<?php\n+/**\n+ * Tests the render_fields method of _Beans_Term_Meta.\n+ *\n+ * @package Beans\\Framework\\Tests\\Unit\\API\\Term_Meta\n+ *\n+ * @since 1.5.0\n+ */\n+\n+namespace Beans\\Framework\\Tests\\Unit\\API\\Term_Meta;\n+\n+use Beans\\Framework\\Tests\\Unit\\API\\Term_Meta\\Includes\\Beans_Term_Meta_Test_Case;\n+use _Beans_Term_Meta;\n+use Brain\\Monkey;\n+\n+require_once dirname( __DIR__ ) . '/includes/class-beans-term-meta-test-case.php';\n+\n+/**\n+ * Class Tests_BeansTermMeta_RenderFields\n+ *\n+ * @package Beans\\Framework\\Tests\\Unit\\API\\Term_Meta\n+ * @group   api\n+ * @group   api-term-meta\n+ */\n+class Tests_BeansTermMeta_RenderFields extends Beans_Term_Meta_Test_Case {\n+\n+\t/**\n+\t * Tests _beans_term_meta::render_fields() should output fields HTML when called.\n+\t */\n+\tpublic function test_render_fields_renders_fields_html_when_called() {","path":"tests/phpunit/unit/api/term-meta/beans-term-meta/renderFields.php","position":30,"original_position":30,"commit_id":"f9f3098cd8ee2b71fe71ce4189ffba711f0b181e","original_commit_id":"74d2a350e1dd75d7fd5edf3ebeebf048d151bfad","user":{"login":"hellofromtonya","id":7284611,"avatar_url":"https://avatars0.githubusercontent.com/u/7284611?v=4","gravatar_id":"","url":"https://api.github.com/users/hellofromtonya","html_url":"https://github.com/hellofromtonya","followers_url":"https://api.github.com/users/hellofromtonya/followers","following_url":"https://api.github.com/users/hellofromtonya/following{/other_user}","gists_url":"https://api.github.com/users/hellofromtonya/gists{/gist_id}","starred_url":"https://api.github.com/users/hellofromtonya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hellofromtonya/subscriptions","organizations_url":"https://api.github.com/users/hellofromtonya/orgs","repos_url":"https://api.github.com/users/hellofromtonya/repos","events_url":"https://api.github.com/users/hellofromtonya/events{/privacy}","received_events_url":"https://api.github.com/users/hellofromtonya/received_events","type":"User","site_admin":false},"body":"Rename this test to:\r\n\r\n```\r\ntest_should_render_fields_html\r\n```","created_at":"2018-05-03T20:20:36Z","updated_at":"2018-05-03T20:47:44Z","html_url":"https://github.com/Getbeans/Beans/pull/218#discussion_r185924740","pull_request_url":"https://api.github.com/repos/Getbeans/Beans/pulls/218","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/Getbeans/Beans/pulls/comments/185924740"},"html":{"href":"https://github.com/Getbeans/Beans/pull/218#discussion_r185924740"},"pull_request":{"href":"https://api.github.com/repos/Getbeans/Beans/pulls/218"}}},"pull_request":{"url":"https://api.github.com/repos/Getbeans/Beans/pulls/218","id":185816603,"html_url":"https://github.com/Getbeans/Beans/pull/218","diff_url":"https://github.com/Getbeans/Beans/pull/218.diff","patch_url":"https://github.com/Getbeans/Beans/pull/218.patch","issue_url":"https://api.github.com/repos/Getbeans/Beans/issues/218","number":218,"state":"open","locked":false,"title":"Add API term meta Tests","user":{"login":"iCaspar","id":7462998,"avatar_url":"https://avatars3.githubusercontent.com/u/7462998?v=4","gravatar_id":"","url":"https://api.github.com/users/iCaspar","html_url":"https://github.com/iCaspar","followers_url":"https://api.github.com/users/iCaspar/followers","following_url":"https://api.github.com/users/iCaspar/following{/other_user}","gists_url":"https://api.github.com/users/iCaspar/gists{/gist_id}","starred_url":"https://api.github.com/users/iCaspar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iCaspar/subscriptions","organizations_url":"https://api.github.com/users/iCaspar/orgs","repos_url":"https://api.github.com/users/iCaspar/repos","events_url":"https://api.github.com/users/iCaspar/events{/privacy}","received_events_url":"https://api.github.com/users/iCaspar/received_events","type":"User","site_admin":false},"body":"Adds unit and integration tests for the Beans Term Meta API.\r\n\r\nAlso included are several fixes, renaming of class file and class methods to bring the API up WPCS:\r\n* Refactors use of `DOING_AJAX` constant to a private method in the Utiliites API.\r\n* Refactors `_Beans_Term_Meta::do_once()` for better performance.\r\n* Refactors embedded html into view files.\r\n* Fixes `beans_register_term_meta()` not always returning `bool`.\r\n* Cleans up docblocks and file headings.\r\n","created_at":"2018-05-03T19:36:30Z","updated_at":"2018-05-03T20:47:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7350edf9cb1c14ab22c35e41072895c8096bc8a7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Getbeans/Beans/pulls/218/commits","review_comments_url":"https://api.github.com/repos/Getbeans/Beans/pulls/218/comments","review_comment_url":"https://api.github.com/repos/Getbeans/Beans/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Getbeans/Beans/issues/218/comments","statuses_url":"https://api.github.com/repos/Getbeans/Beans/statuses/f9f3098cd8ee2b71fe71ce4189ffba711f0b181e","head":{"label":"iCaspar:api/term_meta","ref":"api/term_meta","sha":"f9f3098cd8ee2b71fe71ce4189ffba711f0b181e","user":{"login":"iCaspar","id":7462998,"avatar_url":"https://avatars3.githubusercontent.com/u/7462998?v=4","gravatar_id":"","url":"https://api.github.com/users/iCaspar","html_url":"https://github.com/iCaspar","followers_url":"https://api.github.com/users/iCaspar/followers","following_url":"https://api.github.com/users/iCaspar/following{/other_user}","gists_url":"https://api.github.com/users/iCaspar/gists{/gist_id}","starred_url":"https://api.github.com/users/iCaspar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iCaspar/subscriptions","organizations_url":"https://api.github.com/users/iCaspar/orgs","repos_url":"https://api.github.com/users/iCaspar/repos","events_url":"https://api.github.com/users/iCaspar/events{/privacy}","received_events_url":"https://api.github.com/users/iCaspar/received_events","type":"User","site_admin":false},"repo":{"id":111042296,"name":"Beans","full_name":"iCaspar/Beans","owner":{"login":"iCaspar","id":7462998,"avatar_url":"https://avatars3.githubusercontent.com/u/7462998?v=4","gravatar_id":"","url":"https://api.github.com/users/iCaspar","html_url":"https://github.com/iCaspar","followers_url":"https://api.github.com/users/iCaspar/followers","following_url":"https://api.github.com/users/iCaspar/following{/other_user}","gists_url":"https://api.github.com/users/iCaspar/gists{/gist_id}","starred_url":"https://api.github.com/users/iCaspar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iCaspar/subscriptions","organizations_url":"https://api.github.com/users/iCaspar/orgs","repos_url":"https://api.github.com/users/iCaspar/repos","events_url":"https://api.github.com/users/iCaspar/events{/privacy}","received_events_url":"https://api.github.com/users/iCaspar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iCaspar/Beans","description":"Beans WordPress Theme Framework. The default branch is set to development, please switch to the master branch for production. ","fork":true,"url":"https://api.github.com/repos/iCaspar/Beans","forks_url":"https://api.github.com/repos/iCaspar/Beans/forks","keys_url":"https://api.github.com/repos/iCaspar/Beans/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iCaspar/Beans/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iCaspar/Beans/teams","hooks_url":"https://api.github.com/repos/iCaspar/Beans/hooks","issue_events_url":"https://api.github.com/repos/iCaspar/Beans/issues/events{/number}","events_url":"https://api.github.com/repos/iCaspar/Beans/events","assignees_url":"https://api.github.com/repos/iCaspar/Beans/assignees{/user}","branches_url":"https://api.github.com/repos/iCaspar/Beans/branches{/branch}","tags_url":"https://api.github.com/repos/iCaspar/Beans/tags","blobs_url":"https://api.github.com/repos/iCaspar/Beans/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iCaspar/Beans/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iCaspar/Beans/git/refs{/sha}","trees_url":"https://api.github.com/repos/iCaspar/Beans/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iCaspar/Beans/statuses/{sha}","languages_url":"https://api.github.com/repos/iCaspar/Beans/languages","stargazers_url":"https://api.github.com/repos/iCaspar/Beans/stargazers","contributors_url":"https://api.github.com/repos/iCaspar/Beans/contributors","subscribers_url":"https://api.github.com/repos/iCaspar/Beans/subscribers","subscription_url":"https://api.github.com/repos/iCaspar/Beans/subscription","commits_url":"https://api.github.com/repos/iCaspar/Beans/commits{/sha}","git_commits_url":"https://api.github.com/repos/iCaspar/Beans/git/commits{/sha}","comments_url":"https://api.github.com/repos/iCaspar/Beans/comments{/number}","issue_comment_url":"https://api.github.com/repos/iCaspar/Beans/issues/comments{/number}","contents_url":"https://api.github.com/repos/iCaspar/Beans/contents/{+path}","compare_url":"https://api.github.com/repos/iCaspar/Beans/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iCaspar/Beans/merges","archive_url":"https://api.github.com/repos/iCaspar/Beans/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iCaspar/Beans/downloads","issues_url":"https://api.github.com/repos/iCaspar/Beans/issues{/number}","pulls_url":"https://api.github.com/repos/iCaspar/Beans/pulls{/number}","milestones_url":"https://api.github.com/repos/iCaspar/Beans/milestones{/number}","notifications_url":"https://api.github.com/repos/iCaspar/Beans/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iCaspar/Beans/labels{/name}","releases_url":"https://api.github.com/repos/iCaspar/Beans/releases{/id}","deployments_url":"https://api.github.com/repos/iCaspar/Beans/deployments","created_at":"2017-11-17T01:28:40Z","updated_at":"2018-05-03T19:10:13Z","pushed_at":"2018-05-03T20:14:30Z","git_url":"git://github.com/iCaspar/Beans.git","ssh_url":"git@github.com:iCaspar/Beans.git","clone_url":"https://github.com/iCaspar/Beans.git","svn_url":"https://github.com/iCaspar/Beans","homepage":"http://www.getbeans.io","size":3414,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"development"}},"base":{"label":"Getbeans:development","ref":"development","sha":"d03c7d7867718d1521ff484e3601cb22245529dd","user":{"login":"Getbeans","id":14165345,"avatar_url":"https://avatars2.githubusercontent.com/u/14165345?v=4","gravatar_id":"","url":"https://api.github.com/users/Getbeans","html_url":"https://github.com/Getbeans","followers_url":"https://api.github.com/users/Getbeans/followers","following_url":"https://api.github.com/users/Getbeans/following{/other_user}","gists_url":"https://api.github.com/users/Getbeans/gists{/gist_id}","starred_url":"https://api.github.com/users/Getbeans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Getbeans/subscriptions","organizations_url":"https://api.github.com/users/Getbeans/orgs","repos_url":"https://api.github.com/users/Getbeans/repos","events_url":"https://api.github.com/users/Getbeans/events{/privacy}","received_events_url":"https://api.github.com/users/Getbeans/received_events","type":"Organization","site_admin":false},"repo":{"id":42062646,"name":"Beans","full_name":"Getbeans/Beans","owner":{"login":"Getbeans","id":14165345,"avatar_url":"https://avatars2.githubusercontent.com/u/14165345?v=4","gravatar_id":"","url":"https://api.github.com/users/Getbeans","html_url":"https://github.com/Getbeans","followers_url":"https://api.github.com/users/Getbeans/followers","following_url":"https://api.github.com/users/Getbeans/following{/other_user}","gists_url":"https://api.github.com/users/Getbeans/gists{/gist_id}","starred_url":"https://api.github.com/users/Getbeans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Getbeans/subscriptions","organizations_url":"https://api.github.com/users/Getbeans/orgs","repos_url":"https://api.github.com/users/Getbeans/repos","events_url":"https://api.github.com/users/Getbeans/events{/privacy}","received_events_url":"https://api.github.com/users/Getbeans/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Getbeans/Beans","description":"Beans WordPress Theme Framework. The default branch is set to development, please switch to the master branch for production. ","fork":false,"url":"https://api.github.com/repos/Getbeans/Beans","forks_url":"https://api.github.com/repos/Getbeans/Beans/forks","keys_url":"https://api.github.com/repos/Getbeans/Beans/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Getbeans/Beans/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Getbeans/Beans/teams","hooks_url":"https://api.github.com/repos/Getbeans/Beans/hooks","issue_events_url":"https://api.github.com/repos/Getbeans/Beans/issues/events{/number}","events_url":"https://api.github.com/repos/Getbeans/Beans/events","assignees_url":"https://api.github.com/repos/Getbeans/Beans/assignees{/user}","branches_url":"https://api.github.com/repos/Getbeans/Beans/branches{/branch}","tags_url":"https://api.github.com/repos/Getbeans/Beans/tags","blobs_url":"https://api.github.com/repos/Getbeans/Beans/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Getbeans/Beans/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Getbeans/Beans/git/refs{/sha}","trees_url":"https://api.github.com/repos/Getbeans/Beans/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Getbeans/Beans/statuses/{sha}","languages_url":"https://api.github.com/repos/Getbeans/Beans/languages","stargazers_url":"https://api.github.com/repos/Getbeans/Beans/stargazers","contributors_url":"https://api.github.com/repos/Getbeans/Beans/contributors","subscribers_url":"https://api.github.com/repos/Getbeans/Beans/subscribers","subscription_url":"https://api.github.com/repos/Getbeans/Beans/subscription","commits_url":"https://api.github.com/repos/Getbeans/Beans/commits{/sha}","git_commits_url":"https://api.github.com/repos/Getbeans/Beans/git/commits{/sha}","comments_url":"https://api.github.com/repos/Getbeans/Beans/comments{/number}","issue_comment_url":"https://api.github.com/repos/Getbeans/Beans/issues/comments{/number}","contents_url":"https://api.github.com/repos/Getbeans/Beans/contents/{+path}","compare_url":"https://api.github.com/repos/Getbeans/Beans/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Getbeans/Beans/merges","archive_url":"https://api.github.com/repos/Getbeans/Beans/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Getbeans/Beans/downloads","issues_url":"https://api.github.com/repos/Getbeans/Beans/issues{/number}","pulls_url":"https://api.github.com/repos/Getbeans/Beans/pulls{/number}","milestones_url":"https://api.github.com/repos/Getbeans/Beans/milestones{/number}","notifications_url":"https://api.github.com/repos/Getbeans/Beans/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Getbeans/Beans/labels{/name}","releases_url":"https://api.github.com/repos/Getbeans/Beans/releases{/id}","deployments_url":"https://api.github.com/repos/Getbeans/Beans/deployments","created_at":"2015-09-07T16:10:40Z","updated_at":"2018-05-01T05:00:17Z","pushed_at":"2018-05-03T20:14:31Z","git_url":"git://github.com/Getbeans/Beans.git","ssh_url":"git@github.com:Getbeans/Beans.git","clone_url":"https://github.com/Getbeans/Beans.git","svn_url":"https://github.com/Getbeans/Beans","homepage":"https://www.getbeans.io","size":3377,"stargazers_count":310,"watchers_count":310,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":51,"mirror_url":null,"archived":false,"open_issues_count":33,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":51,"open_issues":33,"watchers":310,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/Getbeans/Beans/pulls/218"},"html":{"href":"https://github.com/Getbeans/Beans/pull/218"},"issue":{"href":"https://api.github.com/repos/Getbeans/Beans/issues/218"},"comments":{"href":"https://api.github.com/repos/Getbeans/Beans/issues/218/comments"},"review_comments":{"href":"https://api.github.com/repos/Getbeans/Beans/pulls/218/comments"},"review_comment":{"href":"https://api.github.com/repos/Getbeans/Beans/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Getbeans/Beans/pulls/218/commits"},"statuses":{"href":"https://api.github.com/repos/Getbeans/Beans/statuses/f9f3098cd8ee2b71fe71ce4189ffba711f0b181e"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"hellofromtonya"}}