dingo / dingo/api

Request parameters lost in unittest

Open
#990 6 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
PHP
Stars
9.4k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

Hello,

I am using dingo with lumen 5.2.6.

Request (post/get/http headers) are lost when making request to endpoint from unit test.

```
$request = $this->post('api/user/access_token',[
'client_id' => {ID},
'client_secret' => {SECRET},
'grant_type' => 'client_credentials'
]);
```

in `LumenServiceProvider.php` file when i print $request on line 35, i can see my post data there, but after this it is gone.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.