Skip to content

Commit e0b7f47

Browse files
committed
test(user): fix tests
1 parent f7ec247 commit e0b7f47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/fetchers.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const badId = 999999999999999;
1111
// User Ratings
1212
describe('Live: Fetch rating page', () => {
1313
test('Fetch `912-bart` user and check some movie', async () => {
14-
const MOVIE_NAME = 'Návštěvník';
14+
const MOVIE_NAME = 'Poslední Viking';
1515

1616
const movies = await csfd.userRatings('912-bart');
1717
const movieSelected = movies.filter((x) => x.title === MOVIE_NAME)[0];
@@ -27,7 +27,7 @@ describe('Fetch rating page 2', () => {
2727
test('Fetch `912-bart` user – page 2 and check html', async () => {
2828
const url = userRatingsUrl(912, 2);
2929
const html = await fetchPage(url);
30-
expect(html).toContain('Můj soused Totoro');
30+
expect(html).toContain('Návštěvník');
3131
});
3232
});
3333

0 commit comments

Comments
 (0)