Closed stefanniedermaier closed 1 year ago
Thanks for the hint, but i can see two issues here:
suggests
would make it more transparent when installing the packageNo plan to change this, also this requirement is already suggested by Laravel Framework (and we don't want to include another line where it can become outdated to Laravel Framework suggestion): https://github.com/laravel/framework/blob/9.x/composer.json#L165
Description:
When creating a Laravel package and installing
"orchestra/testbench": "^7.22"
only (as a dev dependency), "guzzlehttp/promises" is not installed as a dependency.Therefore creating a test, which mocks a http request fails.
Steps To Reproduce:
Create a simple Unit-Test containing a mocked request;
and running the PHPUnit-Test, results in