{"action":"opened","issue":{"url":"https://api.github.com/repos/LaravelRUS/SleepingOwlAdmin/issues/97","repository_url":"https://api.github.com/repos/LaravelRUS/SleepingOwlAdmin","labels_url":"https://api.github.com/repos/LaravelRUS/SleepingOwlAdmin/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/LaravelRUS/SleepingOwlAdmin/issues/97/comments","events_url":"https://api.github.com/repos/LaravelRUS/SleepingOwlAdmin/issues/97/events","html_url":"https://github.com/LaravelRUS/SleepingOwlAdmin/issues/97","id":151336268,"number":97,"title":"Laravel\\Lumen\\Routing\\UrlGenerator::__construct() error when unit testing","user":{"login":"fendy3002","id":5449185,"avatar_url":"https://avatars.githubusercontent.com/u/5449185?v=3","gravatar_id":"","url":"https://api.github.com/users/fendy3002","html_url":"https://github.com/fendy3002","followers_url":"https://api.github.com/users/fendy3002/followers","following_url":"https://api.github.com/users/fendy3002/following{/other_user}","gists_url":"https://api.github.com/users/fendy3002/gists{/gist_id}","starred_url":"https://api.github.com/users/fendy3002/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fendy3002/subscriptions","organizations_url":"https://api.github.com/users/fendy3002/orgs","repos_url":"https://api.github.com/users/fendy3002/repos","events_url":"https://api.github.com/users/fendy3002/events{/privacy}","received_events_url":"https://api.github.com/users/fendy3002/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-27T09:12:57Z","updated_at":"2016-04-27T09:12:57Z","closed_at":null,"body":"I tried to do unit testing a project with sleepingowl. However the test unit does not have any connection anyway. I'm using laravel 5.2, in windows development.\r\n\r\n\r\nI get the following error:\r\n\r\nPHPUnit 4.8.24 by Sebastian Bergmann and contributors.\r\nThere was 1 error:\r\n\r\n1) Tests\\Export\\ImageLinksToDbReaderTest::test\r\nErrorException: Argument 1 passed to Laravel\\Lumen\\Routing\\UrlGenerator::__construct() must be an instance of Laravel\\Lumen\\Application, instance of Illuminate\\Foundation\\Application given, called in C:\\Users\\_\\AppData\\Roaming\\Composer\\vendor\\laravel\\lumen-framework\\src\\helpers.php:281 and defined\r\n\r\nC:\\Users\\_\\AppData\\Roaming\\Composer\\vendor\\laravel\\lumen-framework\\src\\Routing\\UrlGenerator.php:44\r\nC:\\Users\\_\\AppData\\Roaming\\Composer\\vendor\\laravel\\lumen-framework\\src\\helpers.php:281\r\n_\\app\\Admin\\navigation.php:28\r\n_\\vendor\\laravelrus\\sleepingowl\\src\\Providers\\AdminServiceProvider.php:67\r\n_\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php:507\r\n_\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php:757\r\n_\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php:740\r\n_\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php:741\r\n_\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Bootstrap\\BootProviders.php:17\r\n_\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php:203\r\n_\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php:219\r\n_\\tests\\TestCase.php:21\r\n_\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Testing\\TestCase.php:86\r\n_\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Testing\\TestCase.php:65\r\nC:\\Users\\_\\AppData\\Roaming\\Composer\\vendor\\phpunit\\phpunit\\src\\TextUI\\Command.php:154\r\nC:\\Users\\_\\AppData\\Roaming\\Composer\\vendor\\phpunit\\phpunit\\src\\TextUI\\Command.php:105\r\n\r\nFAILURES!\r\nTests: 1, Assertions: 0, Errors: 1.\r\nComplete."}}