Commit 103231a
Fix tests to match recent validation changes
Update tests to reflect two recent changes:
1. HTTP URLs are no longer accepted for image URIs (only HTTPS)
2. Custom avatar/header fields now show reservedKey error instead of
avatarReserved since media record group was commented out
- validateImageUri.test.ts: Update HTTP tests to expect errors
- Profile.test.tsx: Update avatar validation test for reservedKey error
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 2b17e47 commit 103231a
File tree
2 files changed
+6
-12
lines changed- src
- components/pages/profile/[name]/registration/steps/Profile
- validators
2 files changed
+6
-12
lines changedLines changed: 2 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
| 220 | + | |
221 | 221 | | |
222 | 222 | | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | 223 | | |
230 | 224 | | |
231 | 225 | | |
| |||
245 | 239 | | |
246 | 240 | | |
247 | 241 | | |
248 | | - | |
| 242 | + | |
249 | 243 | | |
250 | 244 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | | - | |
| 98 | + | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
0 commit comments