{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/22994","repository_url":"https://api.github.com/repos/laravel/framework","labels_url":"https://api.github.com/repos/laravel/framework/issues/22994/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/22994/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/22994/events","html_url":"https://github.com/laravel/framework/issues/22994","id":293741693,"number":22994,"title":"question: what wrong this test case?","user":{"login":"hhniao","id":12420958,"avatar_url":"https://avatars3.githubusercontent.com/u/12420958?v=4","gravatar_id":"","url":"https://api.github.com/users/hhniao","html_url":"https://github.com/hhniao","followers_url":"https://api.github.com/users/hhniao/followers","following_url":"https://api.github.com/users/hhniao/following{/other_user}","gists_url":"https://api.github.com/users/hhniao/gists{/gist_id}","starred_url":"https://api.github.com/users/hhniao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhniao/subscriptions","organizations_url":"https://api.github.com/users/hhniao/orgs","repos_url":"https://api.github.com/users/hhniao/repos","events_url":"https://api.github.com/users/hhniao/events{/privacy}","received_events_url":"https://api.github.com/users/hhniao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-02T01:21:11Z","updated_at":"2018-02-02T03:21:54Z","closed_at":null,"author_association":"NONE","body":"how to do can be success to run this test case?\r\n    \r\n    git clone https://github.com/laravel/framework.git\r\n    compose install --verbose\r\n    vendor/phpunit/phpunit/phpunit --filter testRefreshCommandCallsCommandsWithProperArguments DatabaseMigrationRefreshCommandTest tests/Database/DatabaseMigrationRefreshCommandTest.php --debug`\r\n    \r\n    Runtime:       PHP 7.1.12 with Xdebug 2.6.0beta1\r\n    Configuration: D:\\web\\github\\laravel\\framework\\phpunit.xml.dist\r\n    \r\n    Test 'Illuminate\\Tests\\Database\\DatabaseMigrationRefreshCommandTest::testRefreshCommandCallsCommandsWithProperArguments' started\r\n    Test 'Illuminate\\Tests\\Database\\DatabaseMigrationRefreshCommandTest::testRefreshCommandCallsCommandsWithProperArguments' ended\r\n    \r\n    \r\n    Time: 156 ms, Memory: 10.00MB\r\n    \r\n    There was 1 error:\r\n    \r\n    1) Illuminate\\Tests\\Database\\DatabaseMigrationRefreshCommandTest::testRefreshCommandCallsCommandsWithProperArguments\r\n    Mockery\\Exception\\NoMatchingExpectationException: No matching handler found for Mockery_2_Illuminate_Database_Console_Migrations_ResetCommand::run(object(Symfony\\Component\\Console\\Input\\ArrayInput), object(Illuminate\\Console\\OutputStyle)). Either the method was unexpected or its arguments matched no expected argument list for this method\r\n    \r\n    Objects: ( array (\r\n      'Symfony\\\\Component\\\\Console\\\\Input\\\\ArrayInput' =>\r\n      array (\r\n        'class' => 'Symfony\\\\Component\\\\Console\\\\Input\\\\ArrayInput',\r\n        'properties' =>\r\n        array (\r\n        ),\r\n      ),\r\n      'Illuminate\\\\Console\\\\OutputStyle' =>\r\n      array (\r\n        'class' => 'Illuminate\\\\Console\\\\OutputStyle',\r\n        'properties' =>\r\n        array (\r\n        ),\r\n      ),\r\n    ))\r\n    \r\n    D:\\web\\github\\laravel\\framework\\vendor\\mockery\\mockery\\library\\Mockery\\ExpectationDirector.php:92\r\n    D:\\web\\github\\laravel\\framework\\src\\Illuminate\\Console\\Command.php:198\r\n    D:\\web\\github\\laravel\\framework\\src\\Illuminate\\Database\\Console\\Migrations\\RefreshCommand.php:104\r\n    D:\\web\\github\\laravel\\framework\\src\\Illuminate\\Database\\Console\\Migrations\\RefreshCommand.php:55\r\n    D:\\web\\github\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php:29\r\n    D:\\web\\github\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php:87\r\n    D:\\web\\github\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php:31\r\n    D:\\web\\github\\laravel\\framework\\src\\Illuminate\\Container\\Container.php:549\r\n    D:\\web\\github\\laravel\\framework\\src\\Illuminate\\Console\\Command.php:183\r\n    D:\\web\\github\\laravel\\framework\\vendor\\symfony\\console\\Command\\Command.php:252\r\n    D:\\web\\github\\laravel\\framework\\src\\Illuminate\\Console\\Command.php:170\r\n    D:\\web\\github\\laravel\\framework\\tests\\Database\\DatabaseMigrationRefreshCommandTest.php:68\r\n    D:\\web\\github\\laravel\\framework\\tests\\Database\\DatabaseMigrationRefreshCommandTest.php:41"},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/362474600","html_url":"https://github.com/laravel/framework/issues/22994#issuecomment-362474600","issue_url":"https://api.github.com/repos/laravel/framework/issues/22994","id":362474600,"user":{"login":"browner12","id":5232313,"avatar_url":"https://avatars0.githubusercontent.com/u/5232313?v=4","gravatar_id":"","url":"https://api.github.com/users/browner12","html_url":"https://github.com/browner12","followers_url":"https://api.github.com/users/browner12/followers","following_url":"https://api.github.com/users/browner12/following{/other_user}","gists_url":"https://api.github.com/users/browner12/gists{/gist_id}","starred_url":"https://api.github.com/users/browner12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/browner12/subscriptions","organizations_url":"https://api.github.com/users/browner12/orgs","repos_url":"https://api.github.com/users/browner12/repos","events_url":"https://api.github.com/users/browner12/events{/privacy}","received_events_url":"https://api.github.com/users/browner12/received_events","type":"User","site_admin":false},"created_at":"2018-02-02T03:21:54Z","updated_at":"2018-02-02T03:21:54Z","author_association":"CONTRIBUTOR","body":"Welcome to Laravel! We are glad to have you as part of the community.\r\n\r\nUnfortunately GitHub is not an appropriate platform for general application issues. This is only for issues/bugs with the framework code itself.\r\n\r\nPlease close your issue, and instead try asking your question on one of the many great community support areas that will likely give you a better answer more quickly:\r\n\r\nLaravel Slack (https://larachat.co/)\r\nLaravel.io Forum (https://laravel.io/forum)\r\nLaracasts Forum (https://laracasts.com/discuss)\r\nStackOverflow (http://stackoverflow.com/questions/tagged/laravel)\r\n\r\nThanks!"}}
{"actor":{"display_login":"browner12"}}