Commit 5d4ec920 authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

fix tests

parent f7b60d5d
......@@ -62,7 +62,8 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='event',
name='organiser',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='committees.Committee', verbose_name='organiser'),
field=models.ForeignKey(null=True,
on_delete=django.db.models.deletion.SET_NULL, to='activemembers.Committee', verbose_name='organiser'),
),
migrations.AlterField(
model_name='registration',
......
......@@ -16,11 +16,13 @@ class RegistrationTest(TestCase):
def setUp(self):
self.event = Event.objects.create(
title='testevent',
title_nl='testevene',
title_en='testevent',
description='desc',
start=timezone.now(),
end=(timezone.now() + datetime.timedelta(hours=1)),
location='test location',
location_en='test location',
location_nl='test locatie',
map_location='test map location',
price=0.00,
cost=0.00)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment