Commit ee637c58 by muzaffaryousaf

Set notes page size to 25

TNL-4108
parent ea89d2ee
......@@ -34,7 +34,7 @@ log = logging.getLogger(__name__)
# OAuth2 Client name for edxnotes
CLIENT_NAME = "edx-notes"
DEFAULT_PAGE = 1
DEFAULT_PAGE_SIZE = 10
DEFAULT_PAGE_SIZE = 25
class NoteJSONEncoder(JSONEncoder):
......
......@@ -781,7 +781,7 @@ class EdxNotesHelpersTest(ModuleStoreTestCase):
"text": "text",
"highlight": True,
'page': 1,
'page_size': 10,
'page_size': 25,
}
)
......@@ -797,7 +797,7 @@ class EdxNotesHelpersTest(ModuleStoreTestCase):
mock_get_id_token.return_value = "test_token"
mock_anonymous_id_for_user.return_value = "anonymous_id"
helpers.send_request(
self.user, self.course.id, path="test", page=1, page_size=10
self.user, self.course.id, path="test", page=1, page_size=25
)
mock_get.assert_called_with(
"http://example.com/test/",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment