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

[2.0] Fix shortcode implementation and test coverage #26

Merged
merged 1 commit into from
Oct 22, 2019
Merged

[2.0] Fix shortcode implementation and test coverage #26

merged 1 commit into from
Oct 22, 2019

Conversation

dwightwatson
Copy link
Contributor

I found a really silly bug in the shortcode channel (sorry) that assigned the argument to the wrong instance variable. It seems the test coverage didn't pick it up as Mockery didn't specify the number of times each mock should be called.

I've updated the mocks to ensure that they are called once as expected, and also implemented routeNotificationFor* methods in the stub notifiables so the tests are actually performed to completion.

@taylorotwell taylorotwell merged commit 49dfebd into laravel:2.0 Oct 22, 2019
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.

2 participants