{"action":"closed","issue":{"url":"https://api.github.com/repos/albertcht/lumen-testing/issues/2","repository_url":"https://api.github.com/repos/albertcht/lumen-testing","labels_url":"https://api.github.com/repos/albertcht/lumen-testing/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/albertcht/lumen-testing/issues/2/comments","events_url":"https://api.github.com/repos/albertcht/lumen-testing/issues/2/events","html_url":"https://github.com/albertcht/lumen-testing/issues/2","id":338343771,"node_id":"MDU6SXNzdWUzMzgzNDM3NzE=","number":2,"title":"Problem with Lumen 5.6.4, application not bootstrapping/refreshing correctly after the first test.","user":{"login":"jersak","id":19378123,"node_id":"MDQ6VXNlcjE5Mzc4MTIz","avatar_url":"https://avatars2.githubusercontent.com/u/19378123?v=4","gravatar_id":"","url":"https://api.github.com/users/jersak","html_url":"https://github.com/jersak","followers_url":"https://api.github.com/users/jersak/followers","following_url":"https://api.github.com/users/jersak/following{/other_user}","gists_url":"https://api.github.com/users/jersak/gists{/gist_id}","starred_url":"https://api.github.com/users/jersak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jersak/subscriptions","organizations_url":"https://api.github.com/users/jersak/orgs","repos_url":"https://api.github.com/users/jersak/repos","events_url":"https://api.github.com/users/jersak/events{/privacy}","received_events_url":"https://api.github.com/users/jersak/received_events","type":"User","site_admin":false},"labels":[{"id":791233175,"node_id":"MDU6TGFiZWw3OTEyMzMxNzU=","url":"https://api.github.com/repos/albertcht/lumen-testing/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-07-04T17:30:35Z","updated_at":"2018-07-27T16:36:40Z","closed_at":"2018-07-27T16:36:40Z","author_association":"NONE","body":"We recently updated Lumen from 5.6.3 to 5.6.4 on a few of our applications and it seems it broke most of our tests. The first test runs correctly but after that it seems that the application is not bootstrapped correctly, showing a stacktrace similar to the following:\r\n\r\n```\r\n56) StatesFeatureTest::testGetInvalidStateByCountryId\r\nError: Call to undefined method Illuminate\\Container\\Container::basePath()\r\n\r\n/home/vagrant/locations-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php:191\r\n/home/vagrant/locations-api/vendor/albertcht/lumen-testing/src/TestCase.php:46\r\n/home/vagrant/locations-api/vendor/laravel/lumen-framework/src/Testing/TestCase.php:56\r\n/home/vagrant/locations-api/vendor/laravel/lumen-framework/src/Testing/TestCase.php:67\r\n/home/vagrant/locations-api/vendor/albertcht/lumen-testing/src/TestCase.php:24\r\n```\r\n\r\nRolling back to Lumen 5.6.3 makes it work fine again.\r\n\r\nWe noticed that there was a change to the flush method on Application.php that might be related to this: https://github.com/laravel/lumen-framework/compare/v5.6.3...v5.6.4"}}
{"actor":{"display_login":"albertcht"}}