{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/6479","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/6479/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/6479/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/6479/events","html_url":"https://github.com/joomla/joomla-cms/pull/6479","id":62524678,"number":6479,"title":"Add tests for JLanguageMultilang","user":{"login":"wilsonge","id":1986000,"avatar_url":"https://avatars.githubusercontent.com/u/1986000?v=3","gravatar_id":"","url":"https://api.github.com/users/wilsonge","html_url":"https://github.com/wilsonge","followers_url":"https://api.github.com/users/wilsonge/followers","following_url":"https://api.github.com/users/wilsonge/following{/other_user}","gists_url":"https://api.github.com/users/wilsonge/gists{/gist_id}","starred_url":"https://api.github.com/users/wilsonge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilsonge/subscriptions","organizations_url":"https://api.github.com/users/wilsonge/orgs","repos_url":"https://api.github.com/users/wilsonge/repos","events_url":"https://api.github.com/users/wilsonge/events{/privacy}","received_events_url":"https://api.github.com/users/wilsonge/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/joomla/joomla-cms/labels/PR-staging","name":"PR-staging","color":"c7def8"},{"url":"https://api.github.com/repos/joomla/joomla-cms/labels/Unit/System%20Tests","name":"Unit/System Tests","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-17T21:42:02Z","updated_at":"2015-07-19T21:37:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/6479","html_url":"https://github.com/joomla/joomla-cms/pull/6479","diff_url":"https://github.com/joomla/joomla-cms/pull/6479.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/6479.patch"},"body":"As per the doc block I've typecast the result to be a boolean as it was returning the string 0 on false and 1 on true for the enabled state of the plugin (as these are the values stored in the database). Currently you get true and false in the frontend and 0 and 1 in the backend.\r\n\r\n## Testing\r\nIn the backend ensure that the modal views when you are selecting a single item in the menu show everything properly\r\n\r\nReplaces https://github.com/joomla/joomla-cms/pull/6443"},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/122708399","html_url":"https://github.com/joomla/joomla-cms/pull/6479#issuecomment-122708399","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/6479","id":122708399,"user":{"login":"mbabker","id":368545,"avatar_url":"https://avatars.githubusercontent.com/u/368545?v=3","gravatar_id":"","url":"https://api.github.com/users/mbabker","html_url":"https://github.com/mbabker","followers_url":"https://api.github.com/users/mbabker/followers","following_url":"https://api.github.com/users/mbabker/following{/other_user}","gists_url":"https://api.github.com/users/mbabker/gists{/gist_id}","starred_url":"https://api.github.com/users/mbabker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbabker/subscriptions","organizations_url":"https://api.github.com/users/mbabker/orgs","repos_url":"https://api.github.com/users/mbabker/repos","events_url":"https://api.github.com/users/mbabker/events{/privacy}","received_events_url":"https://api.github.com/users/mbabker/received_events","type":"User","site_admin":false},"created_at":"2015-07-19T21:37:20Z","updated_at":"2015-07-19T21:37:20Z","body":"Copy/paste is your friend :wink: "}}