{"action":"created","issue":{"url":"https://api.github.com/repos/Codeception/Codeception/issues/2429","labels_url":"https://api.github.com/repos/Codeception/Codeception/issues/2429/labels{/name}","comments_url":"https://api.github.com/repos/Codeception/Codeception/issues/2429/comments","events_url":"https://api.github.com/repos/Codeception/Codeception/issues/2429/events","html_url":"https://github.com/Codeception/Codeception/issues/2429","id":109839110,"number":2429,"title":"autoload laravel 5.0 framework classes in Acceptance testing (WebDriver)","user":{"login":"aditya-","id":4242201,"avatar_url":"https://avatars.githubusercontent.com/u/4242201?v=3","gravatar_id":"","url":"https://api.github.com/users/aditya-","html_url":"https://github.com/aditya-","followers_url":"https://api.github.com/users/aditya-/followers","following_url":"https://api.github.com/users/aditya-/following{/other_user}","gists_url":"https://api.github.com/users/aditya-/gists{/gist_id}","starred_url":"https://api.github.com/users/aditya-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aditya-/subscriptions","organizations_url":"https://api.github.com/users/aditya-/orgs","repos_url":"https://api.github.com/users/aditya-/repos","events_url":"https://api.github.com/users/aditya-/events{/privacy}","received_events_url":"https://api.github.com/users/aditya-/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-05T16:43:58Z","updated_at":"2015-10-05T20:44:02Z","closed_at":null,"body":"Hi Team,\r\n\r\nits been many days after posting here. I have laravel 5.0 app . I am just trying to write acceptance test using WebDriver module. everything ok except DB class .. i wish to use laravel DB Class for writing sql quires in my test cases.. earlier in laravel 4.2 i have initialized the app by calling\r\n\r\n```\r\n        $unitTesting = true;\r\n        $testEnvironment = 'testing';\r\n\r\n        require __DIR__ . '/../../../../vendor/autoload.php';\r\n        return require __DIR__ . '/../../../../bootstrap/autoload.php';\r\n```\r\nAbove code will initializes all the laravel 4.2 classes in Test Cases but where as i am unable to autoload  all the laravel 5.0 classes . i tried like this \r\n\r\n\r\n```\r\nuse Illuminate\\Database\\Eloquent\\Model;\r\nuse Illuminate\\Support\\Facades;\r\nuse DB;\r\n\r\n```\r\nits giving me ' The use statement with non-compound name 'DB' has no effect  ' error\r\n\r\n how i can autoload these classes for WebDriver module ?  any suggestions ? \r\n\r\n@DavertMik @wyhmichael @Ragazzo @codeception ?\r\n\r\nThanks\r\n\r\nRegards\r\nAditya"},"comment":{"url":"https://api.github.com/repos/Codeception/Codeception/issues/comments/145662955","html_url":"https://github.com/Codeception/Codeception/issues/2429#issuecomment-145662955","issue_url":"https://api.github.com/repos/Codeception/Codeception/issues/2429","id":145662955,"user":{"login":"aditya-","id":4242201,"avatar_url":"https://avatars.githubusercontent.com/u/4242201?v=3","gravatar_id":"","url":"https://api.github.com/users/aditya-","html_url":"https://github.com/aditya-","followers_url":"https://api.github.com/users/aditya-/followers","following_url":"https://api.github.com/users/aditya-/following{/other_user}","gists_url":"https://api.github.com/users/aditya-/gists{/gist_id}","starred_url":"https://api.github.com/users/aditya-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aditya-/subscriptions","organizations_url":"https://api.github.com/users/aditya-/orgs","repos_url":"https://api.github.com/users/aditya-/repos","events_url":"https://api.github.com/users/aditya-/events{/privacy}","received_events_url":"https://api.github.com/users/aditya-/received_events","type":"User","site_admin":false},"created_at":"2015-10-05T20:44:02Z","updated_at":"2015-10-05T20:44:02Z","body":"Any ideas?? "}}