{"action":"created","issue":{"url":"https://api.github.com/repos/rappasoft/laravel-5-boilerplate/issues/1023","repository_url":"https://api.github.com/repos/rappasoft/laravel-5-boilerplate","labels_url":"https://api.github.com/repos/rappasoft/laravel-5-boilerplate/issues/1023/labels{/name}","comments_url":"https://api.github.com/repos/rappasoft/laravel-5-boilerplate/issues/1023/comments","events_url":"https://api.github.com/repos/rappasoft/laravel-5-boilerplate/issues/1023/events","html_url":"https://github.com/rappasoft/laravel-5-boilerplate/issues/1023","id":296214871,"number":1023,"title":"phpunit test fails on fresh install","user":{"login":"idleup","id":1878658,"avatar_url":"https://avatars3.githubusercontent.com/u/1878658?v=4","gravatar_id":"","url":"https://api.github.com/users/idleup","html_url":"https://github.com/idleup","followers_url":"https://api.github.com/users/idleup/followers","following_url":"https://api.github.com/users/idleup/following{/other_user}","gists_url":"https://api.github.com/users/idleup/gists{/gist_id}","starred_url":"https://api.github.com/users/idleup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idleup/subscriptions","organizations_url":"https://api.github.com/users/idleup/orgs","repos_url":"https://api.github.com/users/idleup/repos","events_url":"https://api.github.com/users/idleup/events{/privacy}","received_events_url":"https://api.github.com/users/idleup/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2018-02-11T18:55:03Z","updated_at":"2018-03-18T03:43:13Z","closed_at":"2018-03-02T16:18:11Z","author_association":"NONE","body":"vagrant@homestead:/web/myproject.dev$ phpunit\r\nPHPUnit 6.5.5 by Sebastian Bergmann and contributors.\r\n\r\n\r\n ==> Tests\\Feature\\Backend\\AdminDashboardTest     ✓ ✓ ✓\r\n ==> Tests\\Feature\\Backend\\Role\\CreateRoleTest    ✓ ✖\r\n\r\nTime: 1.59 seconds, Memory: 28.00MB\r\n\r\nThere was 1 failure:\r\n\r\n1) Tests\\Feature\\Backend\\Role\\CreateRoleTest::the_name_is_required\r\nSession is missing expected key [errors].\r\nFailed asserting that false is true.\r\n\r\n/web/myshowstudio.dev/vendor/laravel/framework/src/Illuminate/Foundation/Testing/TestResponse.php:635\r\n/web/myshowstudio.dev/vendor/laravel/framework/src/Illuminate/Foundation/Testing/TestResponse.php:673\r\n/web/myshowstudio.dev/tests/Feature/Backend/Role/CreateRoleTest.php:30\r\n\r\nFAILURES!\r\nTests: 5, Assertions: 7, Failures: 1.\r\nvagrant@homestead:/web/myproject.dev$\r\n\r\n-----------------\r\n\r\nThis is a fresh install following the install guide with no changes. Version 5.5"},"comment":{"url":"https://api.github.com/repos/rappasoft/laravel-5-boilerplate/issues/comments/373970673","html_url":"https://github.com/rappasoft/laravel-5-boilerplate/issues/1023#issuecomment-373970673","issue_url":"https://api.github.com/repos/rappasoft/laravel-5-boilerplate/issues/1023","id":373970673,"user":{"login":"vduke","id":4578171,"avatar_url":"https://avatars1.githubusercontent.com/u/4578171?v=4","gravatar_id":"","url":"https://api.github.com/users/vduke","html_url":"https://github.com/vduke","followers_url":"https://api.github.com/users/vduke/followers","following_url":"https://api.github.com/users/vduke/following{/other_user}","gists_url":"https://api.github.com/users/vduke/gists{/gist_id}","starred_url":"https://api.github.com/users/vduke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vduke/subscriptions","organizations_url":"https://api.github.com/users/vduke/orgs","repos_url":"https://api.github.com/users/vduke/repos","events_url":"https://api.github.com/users/vduke/events{/privacy}","received_events_url":"https://api.github.com/users/vduke/received_events","type":"User","site_admin":false},"created_at":"2018-03-18T03:43:13Z","updated_at":"2018-03-18T03:43:13Z","author_association":"NONE","body":"Having this issue in valet on Mac when doing a fresh install. Followed steps exactly as described. Anyone have any ideas on this? I don't want to have to switch to homestead just to accomplish this. Anyone else have a solution that solves this besides using homestead? Key's are generated, Dependency's installed, Database migrated and seeded. \r\n\r\n<img width=\"786\" alt=\"screenshot 2018-03-18 11 38 25\" src=\"https://user-images.githubusercontent.com/4578171/37562357-22d26dd8-2aa1-11e8-8c8c-acaf70ef70cd.png\">\r\n\r\n`here was 1 error:\r\n\r\n1) Tests\\Feature\\Frontend\\UserRegistrationTest::a_user_can_register_an_account\r\nIlluminate\\Database\\Eloquent\\ModelNotFoundException: No query results for model [App\\Models\\Auth\\User].\r\n\r\n/Users/vincentduke/Code/radiastudio/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:416\r\n/Users/vincentduke/Code/radiastudio/app/Repositories/BaseRepository.php:214\r\n/Users/vincentduke/Code/radiastudio/tests/Feature/Frontend/UserRegistrationTest.php:64\r\n/Users/vincentduke/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php:205\r\n/Users/vincentduke/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php:153\r\n\r\n--\r\n\r\nThere were 5 failures:\r\n\r\n1) Tests\\Feature\\Backend\\Role\\UpdateRoleTest::an_admin_can_access_the_edit_role_page\r\nExpected status code 200 but received 500.\r\nFailed asserting that false is true.\r\n\r\n/Users/vincentduke/Code/radiastudio/vendor/laravel/framework/src/Illuminate/Foundation/Testing/TestResponse.php:78\r\n/Users/vincentduke/Code/radiastudio/tests/Feature/Backend/Role/UpdateRoleTest.php:21\r\n/Users/vincentduke/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php:205\r\n/Users/vincentduke/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php:153\r\n\r\n2) Tests\\Feature\\Backend\\User\\UpdateUserTest::an_admin_can_access_the_edit_user_page\r\nExpected status code 200 but received 500.\r\nFailed asserting that false is true.\r\n\r\n/Users/vincentduke/Code/radiastudio/vendor/laravel/framework/src/Illuminate/Foundation/Testing/TestResponse.php:78\r\n/Users/vincentduke/Code/radiastudio/tests/Feature/Backend/User/UpdateUserTest.php:25\r\n/Users/vincentduke/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php:205\r\n/Users/vincentduke/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php:153\r\n\r\n3) Tests\\Feature\\Frontend\\UpdateUserAccountTest::a_user_can_update_his_profile\r\nFailed asserting that two strings are equal.\r\n--- Expected\r\n+++ Actual\r\n@@ @@\r\n-'Manuel'\r\n+'John'\r\n\r\n/Users/vincentduke/Code/radiastudio/tests/Feature/Frontend/UpdateUserAccountTest.php:55\r\n/Users/vincentduke/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php:205\r\n/Users/vincentduke/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php:153\r\n\r\n4) Tests\\Feature\\Frontend\\UserRegistrationTest::if_requires_approval_is_active_the_user_cant_login\r\nFailed asserting that null matches expected 'Your account was successfully created and is pending approval. An e-mail will be sent when your account is approved.'.\r\n\r\n/Users/vincentduke/Code/radiastudio/vendor/laravel/framework/src/Illuminate/Foundation/Testing/TestResponse.php:709\r\n/Users/vincentduke/Code/radiastudio/vendor/laravel/framework/src/Illuminate/Foundation/Testing/TestResponse.php:727\r\n/Users/vincentduke/Code/radiastudio/vendor/laravel/framework/src/Illuminate/Foundation/Testing/TestResponse.php:700\r\n/Users/vincentduke/Code/radiastudio/tests/Feature/Frontend/UserRegistrationTest.php:115\r\n/Users/vincentduke/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php:205\r\n/Users/vincentduke/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php:153\r\n\r\n5) Tests\\Feature\\Frontend\\UserRegistrationTest::an_event_get_fired_on_registration\r\nThe expected [App\\Events\\Frontend\\Auth\\UserRegistered] event was not dispatched.\r\nFailed asserting that false is true.\r\n\r\n/Users/vincentduke/Code/radiastudio/vendor/laravel/framework/src/Illuminate/Support/Testing/Fakes/EventFake.php:61\r\n/Users/vincentduke/Code/radiastudio/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:221\r\n/Users/vincentduke/Code/radiastudio/tests/Feature/Frontend/UserRegistrationTest.php:131\r\n/Users/vincentduke/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php:205\r\n/Users/vincentduke/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php:153\r\n\r\nERRORS!\r\nTests: 100, Assertions: 198, Errors: 1, Failures: 5.`"}}
{"actor":{"display_login":"vduke"}}