feat(test): Add second adoption notice
This commit is contained in:
parent
12907a601a
commit
549fd33ccc
@ -17,6 +17,9 @@ class Command(BaseCommand):
|
||||
rat2 = baker.make_recipe(
|
||||
'fellchensammlung.rat'
|
||||
)
|
||||
cat = baker.make_recipe(
|
||||
'fellchensammlung.cat'
|
||||
)
|
||||
rescue1 = baker.make_recipe(
|
||||
'fellchensammlung.rescue_org'
|
||||
)
|
||||
@ -26,6 +29,8 @@ class Command(BaseCommand):
|
||||
|
||||
baker.make(AdoptionNotice, name="Vermittung1", animals=[rat1, rat2], organization=rescue1)
|
||||
|
||||
baker.make(AdoptionNotice, name="Vermittung2", animals=[cat], organization=rescue2)
|
||||
|
||||
User.objects.create_user('test', password='foobar')
|
||||
User.objects.create_superuser(username="admin", password="admin")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user