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 ability to turn on test mode dynamically (for testing). #59

Open
r-kujawa opened this issue Apr 11, 2024 · 0 comments
Open

Add ability to turn on test mode dynamically (for testing). #59

r-kujawa opened this issue Apr 11, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@r-kujawa
Copy link
Contributor

Describe the solution you'd like. ✈️

Just like other laravel services, you should be able to call a fake() method on the service to start mocking behaviour.

What problem will this solve? 🔥

Simplifies testing.

Additional context 💬

A good example of this is the Queue facade, you may call Queue::fake() and it will start mocking the queue's asyncronous behaviour.

Which version(s) should this be pointed at?

1.x

@r-kujawa r-kujawa added the enhancement New feature or request label Apr 11, 2024
@r-kujawa r-kujawa added good first issue Good for newcomers labels Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant