cloudcreativity/laravel-json-api

Error in tests

Yeleup opened this issue · 1 comments

if I do this the tests pass
$id = $response ->assertCreatedWithServerId(null, $data) ->id();

but if I change the tests as in the documentation the tests do not work
$id = $response ->assertCreatedWithServerId('http://localhost:8100/api/v1/items', $data) ->id();

tests do not work and an error is written
image