{"action":"created","issue":{"url":"https://api.github.com/repos/octobercms/october/issues/1833","repository_url":"https://api.github.com/repos/octobercms/october","labels_url":"https://api.github.com/repos/octobercms/october/issues/1833/labels{/name}","comments_url":"https://api.github.com/repos/octobercms/october/issues/1833/comments","events_url":"https://api.github.com/repos/octobercms/october/issues/1833/events","html_url":"https://github.com/octobercms/october/issues/1833","id":138927270,"number":1833,"title":"Composer dependencies on plugin testcases","user":{"login":"uxms","id":14033288,"avatar_url":"https://avatars.githubusercontent.com/u/14033288?v=3","gravatar_id":"","url":"https://api.github.com/users/uxms","html_url":"https://github.com/uxms","followers_url":"https://api.github.com/users/uxms/followers","following_url":"https://api.github.com/users/uxms/following{/other_user}","gists_url":"https://api.github.com/users/uxms/gists{/gist_id}","starred_url":"https://api.github.com/users/uxms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uxms/subscriptions","organizations_url":"https://api.github.com/users/uxms/orgs","repos_url":"https://api.github.com/users/uxms/repos","events_url":"https://api.github.com/users/uxms/events{/privacy}","received_events_url":"https://api.github.com/users/uxms/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/octobercms/october/labels/Status:%20Revision%20Needed","name":"Status: Revision Needed","color":"e11d21"},{"url":"https://api.github.com/repos/octobercms/october/labels/Type:%20Unconfirmed%20Bug","name":"Type: Unconfirmed Bug","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-07T09:11:47Z","updated_at":"2016-03-07T09:42:58Z","closed_at":null,"body":"As mentioned in the title, while starting unittests for a specific plugin, it raises \"Class not found\" error. This class is required by plugin's composer.json file and it is located in plugin's vendor folder. Dependency can be found and works when any website request happens, but not when unittest runs.\r\n\r\nActually, #1714  not solved in some cases..\r\n\r\nMaybe \"plugin dependency pool\" or similar logic will be useful for managing additional libraries which plugins needs externally."},"comment":{"url":"https://api.github.com/repos/octobercms/october/issues/comments/193182376","html_url":"https://github.com/octobercms/october/issues/1833#issuecomment-193182376","issue_url":"https://api.github.com/repos/octobercms/october/issues/1833","id":193182376,"user":{"login":"uxms","id":14033288,"avatar_url":"https://avatars.githubusercontent.com/u/14033288?v=3","gravatar_id":"","url":"https://api.github.com/users/uxms","html_url":"https://github.com/uxms","followers_url":"https://api.github.com/users/uxms/followers","following_url":"https://api.github.com/users/uxms/following{/other_user}","gists_url":"https://api.github.com/users/uxms/gists{/gist_id}","starred_url":"https://api.github.com/users/uxms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uxms/subscriptions","organizations_url":"https://api.github.com/users/uxms/orgs","repos_url":"https://api.github.com/users/uxms/repos","events_url":"https://api.github.com/users/uxms/events{/privacy}","received_events_url":"https://api.github.com/users/uxms/received_events","type":"User","site_admin":false},"created_at":"2016-03-07T09:42:58Z","updated_at":"2016-03-07T09:42:58Z","body":"Probably, it looks only for root vendor folder, not plugins vendors. So class can't be found on root vendor folder while tests not looking for plugin's composer.json file."}}