We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Take the following snippet:
MockClient::getGlobal()->assertSent(function (CreateDealRequest $request) { expect($request->body()->all())->toMatchArray([ 'title' => '[MGT] Jon Doe / foo - bar / ' . now()->addDay()->format('M d \'y'), 'status' => DealStatus::OPEN, ]); });
This would fail if there was a request other than CreateDealRequest. It would be great if assertSent could take the request type into account.
CreateDealRequest
assertSent
Open to PRing that 👍
The text was updated successfully, but these errors were encountered:
Thank you for PRing this! I'm going to close this as it's now a PR.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Take the following snippet:
This would fail if there was a request other than
CreateDealRequest
. It would be great ifassertSent
could take the request type into account.Open to PRing that 👍
The text was updated successfully, but these errors were encountered: