-
Notifications
You must be signed in to change notification settings - Fork 11.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[9.x] Fix expectsDatabaseQueryCount() $connection parameter (#46228)
* Fix expectsDatabaseQueryCount() $connection parameter The listen() function was assuming that the event was being dispatched for just that connection, rather than globally. Instead, we now check the connection name matches if it was provided. Fixes #45932 * fixes --------- Co-authored-by: Taylor Otwell <[email protected]>
- Loading branch information
1 parent
9239128
commit 344c0d8
Showing
2 changed files
with
37 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters