Skip to content

Have logical default for Queue Driver when testing #3265

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

Merged
merged 1 commit into from
Feb 23, 2015
Merged

Have logical default for Queue Driver when testing #3265

merged 1 commit into from
Feb 23, 2015

Conversation

laurencei
Copy link
Contributor

We should set the queue driver to be sync when testing by default. Makes sense along side the other testing defaults like cache and session etc

@laurencei laurencei changed the title Have logic default for Queue Driver when testing Have logical default for Queue Driver when testing Feb 14, 2015
@GrahamCampbell
Copy link
Member

I assume this wasn't done because the default is already sync?

@laurencei
Copy link
Contributor Author

Mmmm...maybe - but if people change the default (because they want Redis on all environments for example) - then they need to add this line.

Just a tweak either way - no biggie...

@GrahamCampbell
Copy link
Member

People should set their queue driver in the env file though?

@laurencei
Copy link
Contributor Author

Not necessarily.

I only use .env for configs that are different between my environments. If I plan on using a Redis queue on all my environments, including development - then I set it in the config itself.

@GrahamCampbell
Copy link
Member

👍

taylorotwell added a commit that referenced this pull request Feb 23, 2015
Have logical default for Queue Driver when testing
@taylorotwell taylorotwell merged commit 41b9969 into laravel:master Feb 23, 2015
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

Successfully merging this pull request may close these issues.

3 participants