Adds a few more test cases for coverage and adds no coverage to some others

This commit is contained in:
Trenton Holmes
2022-06-13 11:33:30 -07:00
parent 361c255e46
commit 39ee284fcd
8 changed files with 128 additions and 39 deletions

View File

@@ -536,8 +536,6 @@ class BulkDownloadSerializer(DocumentListSerializer):
class StoragePathSerializer(MatchingModelSerializer):
document_count = serializers.IntegerField(read_only=True)
class Meta:
model = StoragePath
fields = (
@@ -575,6 +573,10 @@ class StoragePathSerializer(MatchingModelSerializer):
return path
def create(self, validated_data):
storage_path = StoragePath.objects.create(**validated_data)
return storage_path
class UiSettingsViewSerializer(serializers.ModelSerializer):
class Meta: