See #890: initial API endpoint to handle management of reports

This commit is contained in:
Eliot Berriot 2019-08-26 15:27:21 +02:00
parent 815d9c02f8
commit 8f7ab82117
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
6 changed files with 90 additions and 2 deletions

View file

@ -44,7 +44,7 @@ class UserFilterFactory(NoUpdateOnCreate, factory.DjangoModelFactory):
@registry.register
class ReportFactory(NoUpdateOnCreate, factory.DjangoModelFactory):
submitter = factory.SubFactory(federation_factories.ActorFactory)
target = None
target = factory.SubFactory(music_factories.ArtistFactory)
summary = factory.Faker("paragraph")
type = "other"