Closed vafrcor closed 4 years ago
Hi
The problem is actually with the dingo/api package, not this package.
However since you made this ticket that problem has also been resolved (I'm pretty sure), so just update your packages.
In any case, if you still face difficulties with this, please report to dingo/api github.
Version Information PHP Version:
7.2.1
Package Version (l5-api):v1.2.1
Describe the bug
tests/Api/UserControllerTest
namespace Tests\Api;
use Tests\ApiTestCase;
class UserTest extends ApiTestCase { public function doGetAll() { // $jsonResponse = $this->actingAsAdmin()->json('GET', '/api/users'); $jsonResponse = $this->actingAsAdmin()->json('GET', route('api.users.index', [], false));
}