Commit 31c41a4
committed
fix: update error handling for invalid locale in LocaleAndLanguage test
- Adjusted the expectation for error codes in the LocaleAndLanguage.test.js to account for both 400 (Bad Request) and 141 (Language not found) when an invalid locale is provided. This change improves the robustness of the test by accommodating potential variations in API responses.1 parent 585f24f commit 31c41a4
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | | - | |
| 321 | + | |
| 322 | + | |
322 | 323 | | |
323 | 324 | | |
324 | 325 | | |
| |||
0 commit comments