Replies: 2 comments 1 reply
-
Hey Erin, whilst I've not tried that particular scenario before, I believe if you use |
Beta Was this translation helpful? Give feedback.
1 reply
-
You could do:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an event that has 3 listeners, all actions.
I'm trying to test the event/listeners in isolation, so I need to ignore/fake the other two.
I'd love to have something like
ActionA::fake()
, and have that not run the action. Or aActions::fake()
, likeEvents
.Is there a way to do this, without having to mock all the calls?
Beta Was this translation helpful? Give feedback.
All reactions