{"action":"opened","issue":{"url":"https://api.github.com/repos/cloudcreativity/laravel-json-api/issues/439","repository_url":"https://api.github.com/repos/cloudcreativity/laravel-json-api","labels_url":"https://api.github.com/repos/cloudcreativity/laravel-json-api/issues/439/labels{/name}","comments_url":"https://api.github.com/repos/cloudcreativity/laravel-json-api/issues/439/comments","events_url":"https://api.github.com/repos/cloudcreativity/laravel-json-api/issues/439/events","html_url":"https://github.com/cloudcreativity/laravel-json-api/issues/439","id":505724529,"node_id":"MDU6SXNzdWU1MDU3MjQ1Mjk=","number":439,"title":"[BUG} Test failing on Laravel 6.2","user":{"login":"umbert-cobiro","id":47525764,"node_id":"MDQ6VXNlcjQ3NTI1NzY0","avatar_url":"https://avatars1.githubusercontent.com/u/47525764?v=4","gravatar_id":"","url":"https://api.github.com/users/umbert-cobiro","html_url":"https://github.com/umbert-cobiro","followers_url":"https://api.github.com/users/umbert-cobiro/followers","following_url":"https://api.github.com/users/umbert-cobiro/following{/other_user}","gists_url":"https://api.github.com/users/umbert-cobiro/gists{/gist_id}","starred_url":"https://api.github.com/users/umbert-cobiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umbert-cobiro/subscriptions","organizations_url":"https://api.github.com/users/umbert-cobiro/orgs","repos_url":"https://api.github.com/users/umbert-cobiro/repos","events_url":"https://api.github.com/users/umbert-cobiro/events{/privacy}","received_events_url":"https://api.github.com/users/umbert-cobiro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-10-11T08:53:28Z","updated_at":"2019-10-11T08:53:28Z","closed_at":null,"author_association":"NONE","body":"So, if you upgrade to Laravel 6.2 there is a problem with the testing.\r\n\r\nDowngrading back solves the problem. I leave a bit of a stack trace and test test code so u can try reproduce :)\r\n\r\nTest code:\r\n```\r\n$group = factory(Group::class)->create();\r\n\r\n        $this->doRead($group)\r\n            ->assertFetchedOne([\r\n                'type' => $this->resourceType,\r\n                'id' => \"{$group->id}\",\r\n                'attributes' => [\r\n                    'text' => $group->text,\r\n                    'landing_pages' => $group->landing_pages,\r\n                    'site' => $group->site_id,\r\n                    'custom' => $group->custom,\r\n                    'created_at' => $group->created_at->toAtomString(),\r\n                    'updated_at' => $group->updated_at->toAtomString(),\r\n                ],\r\n            ]);\r\n```\r\n\r\nStack trace:\r\n```\r\nErrorException: Declaration of CloudCreativity\\JsonApi\\Testing\\Concerns\\HasHttpAssertions::assertNoContent(): CloudCreativity\\JsonApi\\Testing\\Concerns\\HasHttpAssertions should be compatible with Illuminate\\Foundation\\Testing\\TestResponse::assertNoContent($status = 204)\r\n\r\n/Users/umbert/Repos/keywords.services/vendor/cloudcreativity/laravel-json-api/src/Testing/TestResponse.php:32\r\n/Users/umbert/Repos/keywords.services/vendor/cloudcreativity/laravel-json-api/src/Testing/MakesJsonApiRequests.php:178\r\n/Users/umbert/Repos/keywords.services/vendor/laravel/framework/src/Illuminate/Foundation/Testing/Concerns/MakesHttpRequests.php:443\r\n/Users/umbert/Repos/keywords.services/vendor/laravel/framework/src/Illuminate/Foundation/Testing/Concerns/MakesHttpRequests.php:406\r\n/Users/umbert/Repos/keywords.services/vendor/cloudcreativity/laravel-json-api/src/Testing/MakesJsonApiRequests.php:103\r\n/Users/umbert/Repos/keywords.services/vendor/cloudcreativity/laravel-json-api/src/Testing/MakesJsonApiRequests.php:152\r\n/Users/umbert/Repos/keywords.services/vendor/cloudcreativity/laravel-json-api/src/Testing/MakesJsonApiRequests.php:307\r\n```"}}
{"actor":{"display_login":"umbert-cobiro"}}