mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-06 05:59:55 +02:00
More configurable pagination
This commit is contained in:
parent
b36b03383e
commit
a3ad476c88
4 changed files with 56 additions and 3 deletions
|
@ -612,7 +612,7 @@ def test_list_licenses(api_client, preferences, mocker):
|
|||
|
||||
expected = [
|
||||
serializers.LicenseSerializer(l.conf).data
|
||||
for l in models.License.objects.order_by("code")[:25]
|
||||
for l in models.License.objects.order_by("code")
|
||||
]
|
||||
url = reverse("api:v1:licenses-list")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue