Error in bootstrap script: Illuminate\Contracts\Container\BindingResolutionException:
Target class [request] does not exist.
Process finished with exit code 1
It seems to be a problem in AbstractServiceProvider.php
$app['request'] or $this->app['request'] doesn't exist
Your environment:
Q
A
Bug?
yes
New Feature?
no
Framework
Laravel
Framework version
8.29
Package version
2.0.0
PHP version
8.0
Steps to reproduce
Run any phpunit test
Expected behaviour
Test should run
Actual behaviour
Note
I migrated from tymon and it was working fine, after I migrated test stopped working. The application works correctly if I log in, but tests are not working.
Subject of the issue
When running Phpunit tests it generates the error
It seems to be a problem in
AbstractServiceProvider.php
$app['request']
or$this->app['request']
doesn't existYour environment:
Steps to reproduce
Run any phpunit test
Expected behaviour
Test should run
Actual behaviour
Note
I migrated from tymon and it was working fine, after I migrated test stopped working. The application works correctly if I log in, but tests are not working.