You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Injecting an ID doesn't work with the endpoint override since injected ids only utilizes the TestsRequestHelperTrait property $endpoint. This means the $overrideEndpoint can never be injected with an id.
Injecting an ID doesn't work with the endpoint override since injected ids only utilizes the TestsRequestHelperTrait property
$endpoint
. This means the$overrideEndpoint
can never be injected with an id.https://github.com/apiato/apiato/blob/master/app/Ship/Tests/PhpUnit/TestsRequestHelperTrait.php#L169
My main question is wondering if this desired functionality?
This is the example from the docs
$response = $this->endpoint('get@item/{id}')->injectId($user->id)->makeCall();
That doesn't work so I am just going to use the functionality like this:
$response = $this->endpoint('get@item/' . $user->id)->makeCall();
The text was updated successfully, but these errors were encountered: