@@ -189,16 +189,23 @@ private void assertLastActivityUpdated(LastActivityUpdated activity) {
189189 public void test_collectionMovies () throws IOException {
190190 // Get metadata to assert it can be parsed.
191191 // On the test account, Star Wars: The Force Awakens has all properties set.
192- List <BaseMovie > movies = executeCall (getTrakt ().sync ().collectionMovies (1 , 1000 , Extended .METADATA ));
193- assertSyncMovies (movies , "collection" );
192+ Response <List <BaseMovie >> response = executeCallWithoutReadingBody (
193+ getTrakt ().sync ().collectionMovies (PAGE_ONE , LIST_AND_COLLECTION_MAX_LIMIT , Extended .METADATA ));
194+
195+ assertListPaginationHeaders (response );
196+ assertSyncMovies (response .body (), "collection" );
194197 }
195198
196199 @ Test
197200 public void test_collectionShows () throws IOException {
198201 // Get metadata to assert it can be parsed.
199202 // On the test account, episode 1x08 of Start Trek: Starfleet Academy has all properties set.
200- List <BaseShow > shows = executeCall (getTrakt ().sync ().collectionShows (1 , 1000 , Extended .METADATA ));
201- assertSyncShows (shows , "collection" );
203+ Response <List <BaseShow >> response = executeCallWithoutReadingBody (
204+ getTrakt ().sync ().collectionShows (PAGE_ONE , LIST_AND_COLLECTION_MAX_LIMIT , Extended .METADATA ));
205+
206+ // As of 2026-03-06, when filtering to shows pagination appears to be not supported (yet?)
207+ // assertListPaginationHeaders(response);
208+ assertSyncShows (response .body (), "collection" );
202209 }
203210
204211 @ Test
0 commit comments