-
Beta Was this translation helpful? Give feedback.
Answered by
edalzell
Jun 8, 2023
Replies: 1 comment
-
Answering my own question. Issue was that it's not the exact same object, so you should be comparing SendLoginLink::shouldRun()
->once()
->withArgs(fn ($m, $url) => $m->id == $member->id && $url == null); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
edalzell
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Answering my own question.
Issue was that it's not the exact same object, so you should be comparing
id
s via a closure usingwithArgs
: