test: add owner to test to prevent random owner generation
This commit is contained in:
parent
b51d04ffd1
commit
6723dad4bd
@ -23,7 +23,7 @@ class AnimalAndAdoptionTest(TestCase):
|
||||
test_user0.trust_level = TrustLevel.ADMIN
|
||||
test_user0.save()
|
||||
|
||||
adoption1 = baker.make(AdoptionNotice, name="TestAdoption1")
|
||||
adoption1 = baker.make(AdoptionNotice, name="TestAdoption1", owner=test_user0)
|
||||
rat = baker.make(Species, name="Farbratte")
|
||||
|
||||
rat1 = baker.make(Animal,
|
||||
|
Loading…
x
Reference in New Issue
Block a user