Created
July 9, 2020 20:05
-
-
Save minthemiddle/913aa836d398fb8aeceda0076c289a79 to your computer and use it in GitHub Desktop.
Markdium-Lessons Learnt: Confident Laravel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $mock = \Mockery::mock(); | |
| $mock->shouldReceive('info') // method name | |
| ->once() | |
| ->with('video.watched', [$video->id]); | |
| Log::swap($mock); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment