Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add checks to bypass in test / without a driver? #346

Open
fruitl00p opened this issue Oct 14, 2024 · 0 comments
Open

Add checks to bypass in test / without a driver? #346

fruitl00p opened this issue Oct 14, 2024 · 0 comments

Comments

@fruitl00p
Copy link

  • Laravel version: 11
  • Algolia Scout Extended version: latest
  • Algolia Client Version: n/a
  • Language Version: 8.3

Description

Currently this extends scout with specific Algolia features (such as reimport). However by (temporarily) disbaling Algolia (i.e. in testing / local environment) via the SCOUT_DRIVER (null/ empty) the extended commands throw errors / still try to connect to Aloglia. Is it possible to add the correct checks to make sure that the commands still check the correct settings / config?

Steps To Reproduce

empty out the SCOUT_DRIVER env variable
run php artisan scout:status
run php artisan scout:reimport

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant