Commit 075b930
committed
fix: update coverage test to expect errors for disabled push notifications
- Fix TestConnWithoutPushNotifications to expect errors instead of nil
- Update test to verify error messages contain helpful information
- Add strings import for error message validation
- Maintain consistency with improved developer experience approach
The test now correctly expects errors when trying to register handlers on
connections with disabled push notifications, providing immediate feedback
to developers about configuration issues rather than silent failures.
This aligns with the improved developer experience where VoidProcessor
returns descriptive errors instead of silently ignoring registrations.1 parent e31987f commit 075b930
1 file changed
+14
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
245 | 246 | | |
246 | 247 | | |
247 | 248 | | |
248 | | - | |
| 249 | + | |
249 | 250 | | |
250 | 251 | | |
251 | 252 | | |
252 | | - | |
253 | | - | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
254 | 258 | | |
255 | 259 | | |
256 | | - | |
257 | | - | |
| 260 | + | |
| 261 | + | |
258 | 262 | | |
259 | 263 | | |
260 | | - | |
261 | | - | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
262 | 269 | | |
263 | 270 | | |
264 | 271 | | |
| |||
0 commit comments