Commit b60dbfe
fix: assertNotified() and assertNotNotified() without args now assert (#19500)
* fix: make assertNotified() and assertNotNotified() without args assert
When called without arguments, both methods previously hit a `blank()`
check and returned early — making no assertion at all. They always
passed, even when the assertion should have failed.
Now assertNotified() without args asserts that at least one notification
was sent, and assertNotNotified() without args asserts that no
notifications were sent.
Fixes #19499
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Update ForceDeleteAction.php
---------
Co-authored-by: Pablo Kebees <pablo@i-aspect.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Dan Harrin <git@danharrin.com>1 parent efa041a commit b60dbfe
File tree
2 files changed
+12
-0
lines changed- packages
- actions/src
- notifications/src
2 files changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
265 | 270 | | |
266 | 271 | | |
267 | 272 | | |
| |||
298 | 303 | | |
299 | 304 | | |
300 | 305 | | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
301 | 311 | | |
302 | 312 | | |
303 | 313 | | |
| |||
0 commit comments