Commit 17397dc
Fix NumberTagsWebpageListViewModelTest crash when API env vars are set
The mock stored a full URL in displayShopServerPath, which Shop.displayShopServerUrl
concatenates onto baseURL. When NATEMPLATE_API_* vars point baseURL at a port
(http://host:3000), the resulting string becomes an invalid URL and force-unwrap
crashes. Store a path instead.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent aff54c0 commit 17397dc
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
0 commit comments