Skip to content

Commit 8548794

Browse files
committed
Collection: assert pagination headers for shows
1 parent 62f6514 commit 8548794

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

src/test/java/com/uwetrottmann/trakt5/services/SyncTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,7 @@ public void test_collectionShows() throws IOException {
207207
Response<List<BaseShow>> response = executeCallWithoutReadingBody(
208208
getTrakt().sync().collectionShows(PAGE_ONE, LIMIT_MAX, Extended.METADATA));
209209

210-
// As of 2026-03-06, when filtering to shows pagination appears to be not supported (yet?)
211-
// assertListPaginationHeaders(response);
210+
assertListPaginationHeaders(response);
212211
assertSyncShows(response.body(), "collection");
213212
}
214213

src/test/java/com/uwetrottmann/trakt5/services/UsersTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,7 @@ public void test_collectionShows() throws IOException {
119119
Response<List<BaseShow>> response = executeCallWithoutReadingBody(
120120
getTrakt().users().collectionShows(TestData.USER_SLUG, PAGE_ONE, LIMIT_MAX, null));
121121

122-
// As of 2026-03-06, when filtering to shows pagination appears to be not supported (yet?)
123-
// assertListPaginationHeaders(response);
122+
assertListPaginationHeaders(response);
124123
assertSyncShows(response.body(), "collection");
125124
}
126125

0 commit comments

Comments
 (0)