creating tests causing problem?
- Dominant language
- PHP
- Stars
- 9.4k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
so i have an admin panel which uses non-api routes & resides in the normal routes rather than within dingo/api routes..
I am trying to create tests for an admin functionality but i am getting
```
InvalidArgumentException: Expecting a DOMNodeList or DOMNode instance, an array, a string, or null, but got "Illuminate\View\View".
```
if i comment out the dingo api from config/app provider array; this error goes away but another one comes up stating
```
Illuminate\Contracts\Container\BindingResolutionException: Target [Dingo\Api\Contract\Routing\Adapter] is not instantiable while building [Dingo\Api\Routing\Router].
```
Just to note I can test the normal api routes.
Contributor guide
Assessment
This issue has not been assessed yet.