Skip to content

Commit 479e4e8

Browse files
committed
Update comment
1 parent 454931a commit 479e4e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readthedocs/search/tests/test_api.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,11 @@ def test_doc_search_pagination(self, api_client, project):
9696
resp = api_client.get(self.url, search_params)
9797
assert resp.status_code == 200
9898

99-
# Check the count is 31 (1 existing and 30 new created)
99+
# Check the count is 61 (1 existing and 60 new created)
100100
assert resp.data['count'] == 61
101101
# Check there are next url
102102
assert resp.data['next'] is not None
103-
# There should be only 25 data as the pagination is 25 by default
103+
# There should be only 50 data as the pagination is 50 by default
104104
assert len(resp.data['results']) == 50
105105

106106
# Add `page_size` parameter and check the data is paginated accordingly

0 commit comments

Comments
 (0)