Skip to content

Commit ccc86b4

Browse files
committed
Collection: assert pagination headers for shows
1 parent 9c9c5c4 commit ccc86b4

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
@@ -203,8 +203,7 @@ public void test_collectionShows() throws IOException {
203203
Response<List<BaseShow>> response = executeCallWithoutReadingBody(
204204
getTrakt().sync().collectionShows(PAGE_ONE, LIST_AND_COLLECTION_MAX_LIMIT, Extended.METADATA));
205205

206-
// As of 2026-03-06, when filtering to shows pagination appears to be not supported (yet?)
207-
// assertListPaginationHeaders(response);
206+
assertListPaginationHeaders(response);
208207
assertSyncShows(response.body(), "collection");
209208
}
210209

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

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

119-
// As of 2026-03-06, when filtering to shows pagination appears to be not supported (yet?)
120-
// assertListPaginationHeaders(response);
119+
assertListPaginationHeaders(response);
121120
assertSyncShows(response.body(), "collection");
122121
}
123122

0 commit comments

Comments
 (0)