Skip to content

Commit

Permalink
fix: tests settings
Browse files Browse the repository at this point in the history
  • Loading branch information
francesco-filicetti committed Nov 5, 2024
1 parent f614d1d commit 23a5741
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions uniticket/tests/settingslocal.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,19 @@
}

REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': [
'rest_framework.authentication.TokenAuthentication',
'rest_framework.authentication.SessionAuthentication',
],
'DEFAULT_PERMISSION_CLASSES': [
'rest_framework.permissions.IsAuthenticated'
],
'DEFAULT_FILTER_BACKENDS': [
'django_filters.rest_framework.DjangoFilterBackend'
],
'DEFAULT_PAGINATION_CLASS':
'rest_framework.pagination.LimitOffsetPagination',
'PAGE_SIZE': 100
'api_rest.pagination.StandardPagination',
'PAGE_SIZE': 5
}

MESSAGES_TO_LOAD = 1500
Expand Down

0 comments on commit 23a5741

Please sign in to comment.