Commit 04268665 authored by Thom Wiggers's avatar Thom Wiggers 📐
Browse files

Merge branch 'hotfix/fix-tests' into 'master'

Fix tests error with day



See merge request !57
parents e11ec959 9db0b88c
......@@ -51,17 +51,17 @@ class CommitteeMembersTest(TestCase):
m1 = CommitteeMembership(committee=self.testcie,
member=self.testuser,
since=timezone.now().date().replace(
year=2014, month=1),
year=2014, month=1, day=1),
until=timezone.now().date().replace(
year=2014, month=3))
year=2014, month=3, day=1))
m1.save()
m2 = CommitteeMembership(committee=self.testcie,
member=self.testuser,
since=timezone.now().date().replace(
year=2014, month=1),
year=2014, month=1, day=1),
until=timezone.now().date().replace(
year=2014, month=2))
year=2014, month=2, day=1))
with self.assertRaises(ValidationError):
m2.full_clean()
......
Supports Markdown
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