{"action":"closed","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/8459","labels_url":"https://api.github.com/repos/laravel/framework/issues/8459/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/8459/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/8459/events","html_url":"https://github.com/laravel/framework/issues/8459","id":69128646,"number":8459,"title":"[5.0] setUpBeforeClass() not working - Facades not available","user":{"login":"shehi","id":653569,"avatar_url":"https://avatars.githubusercontent.com/u/653569?v=3","gravatar_id":"","url":"https://api.github.com/users/shehi","html_url":"https://github.com/shehi","followers_url":"https://api.github.com/users/shehi/followers","following_url":"https://api.github.com/users/shehi/following{/other_user}","gists_url":"https://api.github.com/users/shehi/gists{/gist_id}","starred_url":"https://api.github.com/users/shehi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shehi/subscriptions","organizations_url":"https://api.github.com/users/shehi/orgs","repos_url":"https://api.github.com/users/shehi/repos","events_url":"https://api.github.com/users/shehi/events{/privacy}","received_events_url":"https://api.github.com/users/shehi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-17T12:22:14Z","updated_at":"2015-04-17T22:06:50Z","closed_at":"2015-04-17T22:06:50Z","body":"A code similar to this one:\r\n\r\n```php\r\npublic static function setUpBeforeClass() {\r\n    Artisan::call('migrate');\r\n}\r\n```\r\nwithin any unit-test doesn't work. Thrown error is ```class Artisan not found```. This is generally true for all Facades. What to do, as I need to do a task once for each test-class at this stage? Usage of ```setUp()``` method is not viable. Thanks."}}