Open Artem-Schander opened 1 month ago
for my scenario this phpunit.xml
env entries do the trick:
<env name="SCOUT_QUEUE_CONNECTION" value="null"/>
<env name="SCOUT_QUEUE_NAME" value="null"/>
Maybe it would make sense to make this package ignore the queue config all together?
Feel free to close this issue without any comment.
Thank you for the package. Its nice to have a possibility to test the index. However, it took me a white to find the reason it wont work in my case. I configured scout to use a specific queue. Not just a boolean value.
Considering the setting must be something like
'queue' => env('SCOUT_QUEUE', false)
there is no nice way to use env vars to change it for testing. Besides that, it would be worth mentioning in the readme that the queue setting can cause issues.