diff --git a/tests/model_fields/models.py b/tests/model_fields/models.py index 18a6fdbc1c8..652c808b402 100644 --- a/tests/model_fields/models.py +++ b/tests/model_fields/models.py @@ -383,7 +383,7 @@ if Image: mugshot = models.ImageField( upload_to="tests", - storage=NoReadFileSystemStorage(), + storage=NoReadFileSystemStorage(temp_storage_dir), width_field="mugshot_width", height_field="mugshot_height", )