1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-04-10 23:50:12 +00:00

Merge branch '434-failing-tests-in-dev-env-because-of-wrong-media_url' into 'develop'

Resolve "Failing tests in dev env because of wrong MEDIA_URL"

Closes 

See merge request 
This commit is contained in:
Bram Wiepjes 2021-04-22 12:51:33 +00:00
commit ed34899093

View file

@ -10,3 +10,8 @@ CHANNEL_LAYERS = {"default": {"BACKEND": "channels.layers.InMemoryChannelLayer"}
USER_FILES_DIRECTORY = "user_files"
USER_THUMBNAILS_DIRECTORY = "thumbnails"
USER_THUMBNAILS = {"tiny": [21, 21]}
# Make sure that we are not using the `MEDIA_URL` environment variable because that
# could break the tests. They are expecting it to be 'http://localhost:8000/media/'
# because that is default value in `base.py`.
MEDIA_URL = "http://localhost:8000/media/"