Commit adda214
test(notifications): missing description is valid, not masked
The notification model intentionally relaxed `description` from
@isnotempty() to @IsString() so condition/banner notifications (which
carry their meaning in the title + Active badge, now stored under active/)
aren't masked as invalid — the UI hides the empty line. Update the stale
loadNotificationFile test that still asserted the old
"missing description -> masked warning" behavior to expect a valid
notification (empty description, INFO importance).
Fixes the Test API failure on #2033.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 39d46aa commit adda214
1 file changed
Lines changed: 8 additions & 4 deletions
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
| 245 | + | |
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | | - | |
258 | | - | |
259 | | - | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
260 | 264 | | |
261 | 265 | | |
262 | 266 | | |
| |||
0 commit comments