{"action":"created","issue":{"url":"https://api.github.com/repos/Sylius/Sylius/issues/4138","repository_url":"https://api.github.com/repos/Sylius/Sylius","labels_url":"https://api.github.com/repos/Sylius/Sylius/issues/4138/labels{/name}","comments_url":"https://api.github.com/repos/Sylius/Sylius/issues/4138/comments","events_url":"https://api.github.com/repos/Sylius/Sylius/issues/4138/events","html_url":"https://github.com/Sylius/Sylius/pull/4138","id":133264906,"number":4138,"title":"[Behat] Rework default channel factories","user":{"login":"Zales0123","id":6212718,"avatar_url":"https://avatars.githubusercontent.com/u/6212718?v=3","gravatar_id":"","url":"https://api.github.com/users/Zales0123","html_url":"https://github.com/Zales0123","followers_url":"https://api.github.com/users/Zales0123/followers","following_url":"https://api.github.com/users/Zales0123/following{/other_user}","gists_url":"https://api.github.com/users/Zales0123/gists{/gist_id}","starred_url":"https://api.github.com/users/Zales0123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zales0123/subscriptions","organizations_url":"https://api.github.com/users/Zales0123/orgs","repos_url":"https://api.github.com/users/Zales0123/repos","events_url":"https://api.github.com/users/Zales0123/events{/privacy}","received_events_url":"https://api.github.com/users/Zales0123/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Sylius/Sylius/labels/DX","name":"DX","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-12T15:12:04Z","updated_at":"2016-02-15T09:26:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Sylius/Sylius/pulls/4138","html_url":"https://github.com/Sylius/Sylius/pull/4138","diff_url":"https://github.com/Sylius/Sylius/pull/4138.diff","patch_url":"https://github.com/Sylius/Sylius/pull/4138.patch"},"body":"| Q             | A\r\n| ------------- | ---\r\n| Bug fix?      | no\r\n| New feature?  | yes\r\n| BC breaks?    | no\r\n| Deprecations? | no\r\n| Fixed tickets | https://github.com/Sylius/Sylius/issues/4082\r\n| License       | MIT\r\n| Doc PR        |\r\n\r\nAccording to mentioned issue, there are now two default channel factories:\r\n- ``DefaultChannelFactory`` creating only *empty* **Default** channel\r\n- ``DefaultFranceChannelFactory`` creating **France** channel, with **EUR** as default currency, **France** shipping country and proper zone with zone member"},"comment":{"url":"https://api.github.com/repos/Sylius/Sylius/issues/comments/184129750","html_url":"https://github.com/Sylius/Sylius/pull/4138#issuecomment-184129750","issue_url":"https://api.github.com/repos/Sylius/Sylius/issues/4138","id":184129750,"user":{"login":"Zales0123","id":6212718,"avatar_url":"https://avatars.githubusercontent.com/u/6212718?v=3","gravatar_id":"","url":"https://api.github.com/users/Zales0123","html_url":"https://github.com/Zales0123","followers_url":"https://api.github.com/users/Zales0123/followers","following_url":"https://api.github.com/users/Zales0123/following{/other_user}","gists_url":"https://api.github.com/users/Zales0123/gists{/gist_id}","starred_url":"https://api.github.com/users/Zales0123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zales0123/subscriptions","organizations_url":"https://api.github.com/users/Zales0123/orgs","repos_url":"https://api.github.com/users/Zales0123/repos","events_url":"https://api.github.com/users/Zales0123/events{/privacy}","received_events_url":"https://api.github.com/users/Zales0123/received_events","type":"User","site_admin":false},"created_at":"2016-02-15T09:26:34Z","updated_at":"2016-02-15T09:26:34Z","body":"Sure, ``setClipboard()`` is pretty lame, as it persuade factory to return ``array`` (in spite of being called e.g. \"Default**Channel**Factory\"). I think it should be deeply considered and reworked in the nearest future. For now, we can do that, as not all objects returned by ``DefaultFranceChannelFactory`` is property of channel (``zone``, for example) ;/"}}