mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-07-09 10:10:19 +02:00
We can only register during the first phase
This commit is contained in:
@ -575,7 +575,7 @@ class TestStudentParticipation(TestCase):
|
||||
for i in range(1, 5):
|
||||
Phase.objects.filter(phase_number=i).update(start=timezone.now() + timedelta(days=2 * i),
|
||||
end=timezone.now() + timedelta(days=2 * i + 1))
|
||||
self.assertEqual(Phase.current_phase().phase_number, 1)
|
||||
self.assertEqual(Phase.current_phase(), None)
|
||||
|
||||
# We are after the end
|
||||
for i in range(1, 5):
|
||||
|
Reference in New Issue
Block a user