You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using API Platform. I have many transports and many tests that work great. But after adding a new transport and implementing a test I am getting an error:
TypeError: Zenstruck\Messenger\Test\Transport\TestTransport::isIntercepting(): Return value must be of type bool, null returned
Which seems to indicate that the new transport isn't found. Here are some of the details that cause this error ('hubspot_transport' is the name of the one that fails)
I think that if you use $messenger->reset() you won't have the problem.
nonetheless, there is a problem with resetAll() method: we're resetting $intercept and $catchExceptions to null, but isIntercepting() and isCatchingExceptions() must return false. @kbond WDYT?
I don't think resetAll should be used in userland - we should mark as internal. It should only be called in the test trait.
nonetheless, there is a problem with resetAll() method: we're resetting $intercept and $catchExceptions to null, but isIntercepting() and isCatchingExceptions() must return false.
I think the problem is an undefined array key (there's a warning but returns null). We should throw an exception here I think.
I'm using API Platform. I have many transports and many tests that work great. But after adding a new transport and implementing a test I am getting an error:
Which seems to indicate that the new transport isn't found. Here are some of the details that cause this error ('hubspot_transport' is the name of the one that fails)
messenger.yaml
relevant test code:
The login request alters a field on the user entity...
In my entity listener:
Please let me know if there is more info I can provide to help put a finger on what is happening here. Thank you so much for your help!
The text was updated successfully, but these errors were encountered: