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
Hi, is there a way of testing whether failed messages end up in a correct failure_transport? Basically what I want to do is something like this:
public function testOrderFailure(): void {
$this->transport('failed_order')->queue()->assertEmpty();
$this->transport('async_order')->queue()->assertEmpty();
$this->transport('async_order')->send(new Envelope(new OrderPaidMessage($this->order)));
$this->transport('async_order')->process(); //exception will be thrown
$this->transport('async_order')->queue()->assertEmpty();
$this->transport('failed_order')->queue()->assertCount(1);
}
I've got ?catch_exceptions=false configured for the async_order transport-
The text was updated successfully, but these errors were encountered:
Hi, is there a way of testing whether failed messages end up in a correct failure_transport? Basically what I want to do is something like this:
I've got ?catch_exceptions=false configured for the async_order transport-
The text was updated successfully, but these errors were encountered: