Skip to content

Commit 72bb966

Browse files
committed
Tests: expect new primary languages
1 parent 441e292 commit 72bb966

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
Change Log
22
==========
3+
4+
## Next version
5+
6+
* Note: TMDB has added additional primary translation languages: `ku-TR`, `so-SO` and `uz-UZ`.
37

48
## 2.11.0
59
_2024-06-07_

src/test/java/com/uwetrottmann/tmdb2/services/ConfigurationServiceTest.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public void primary_translations() throws IOException {
6161
List<String> languages = call.execute().body();
6262
assertThat(languages).isNotEmpty();
6363
// Assert content to detect languages getting added or removed.
64-
assertThat(languages).hasSize(137);
64+
assertThat(languages).hasSize(140);
6565
assertThat(languages).containsExactlyInAnyOrder(
6666
"af-ZA",
6767
"ar-AE",
@@ -158,6 +158,7 @@ public void primary_translations() throws IOException {
158158
"kk-KZ",
159159
"kn-IN",
160160
"ko-KR",
161+
"ku-TR",
161162
"ky-KG",
162163
"lt-LT",
163164
"lv-LV",
@@ -181,6 +182,7 @@ public void primary_translations() throws IOException {
181182
"si-LK",
182183
"sk-SK",
183184
"sl-SI",
185+
"so-SO",
184186
"sq-AL",
185187
"sq-XK",
186188
"sr-ME",
@@ -194,6 +196,7 @@ public void primary_translations() throws IOException {
194196
"tr-TR",
195197
"uk-UA",
196198
"ur-PK",
199+
"uz-UZ",
197200
"vi-VN",
198201
"zh-CN",
199202
"zh-HK",

0 commit comments

Comments
 (0)