{"action":"opened","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/10067","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/10067/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/10067/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/10067/events","html_url":"https://github.com/yiisoft/yii2/issues/10067","id":114442678,"number":10067,"title":"Problem with test environment","user":{"login":"armpogart","id":785768,"avatar_url":"https://avatars.githubusercontent.com/u/785768?v=3","gravatar_id":"","url":"https://api.github.com/users/armpogart","html_url":"https://github.com/armpogart","followers_url":"https://api.github.com/users/armpogart/followers","following_url":"https://api.github.com/users/armpogart/following{/other_user}","gists_url":"https://api.github.com/users/armpogart/gists{/gist_id}","starred_url":"https://api.github.com/users/armpogart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armpogart/subscriptions","organizations_url":"https://api.github.com/users/armpogart/orgs","repos_url":"https://api.github.com/users/armpogart/repos","events_url":"https://api.github.com/users/armpogart/events{/privacy}","received_events_url":"https://api.github.com/users/armpogart/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-01T00:40:01Z","updated_at":"2015-11-01T00:40:01Z","closed_at":null,"body":"I was setting up CI environment for an application based on Yii2 and found a strange issue.\r\n\r\nI have wrong mysql user and password on purpose to see how build doesn't pass.\r\nWhen running on ci:\r\n````\r\nphp init --env=Development --overwrite=All\r\nphp yii migrate --interactive=0\r\n````\r\nI get:\r\n````\r\nException 'yii\\db\\Exception' with message 'SQLSTATE[HY000] [1045] Access denied for user 'root'@'172.17.0.152' (using password: YES)'\r\nERROR: Build failed with: exit code 1\r\n````\r\nas expected. But when running:\r\n````\r\nphp init --env=Development --overwrite=All\r\ncd tests/ && php codeception/bin/yii migrate --interactive=0\r\n````\r\nI get:\r\n````\r\nException 'yii\\db\\Exception' with message 'SQLSTATE[HY000] [1045] Access denied for user 'root'@'172.17.0.149' (using password: YES)'\r\nBuild succeeded.\r\n````\r\nthe same exception with success code. I can not find any difference in configs.\r\n"}}