Fix unit tests
This commit is contained in:
parent
1c71c24ea0
commit
f4a98e50ba
|
|
@ -36,8 +36,8 @@ def create_users(data=None):
|
|||
)
|
||||
teacher2 = UserFactory(username='teacher2')
|
||||
UserRole.objects.create(user=teacher2, role=teacher_role)
|
||||
student_second_class = UserFactory(username='student_second_class')
|
||||
UserRole.objects.create(user=student_second_class, role=student_role)
|
||||
|
||||
student_second_class = create_student(username='student_second_class')
|
||||
SchoolClassFactory(
|
||||
users=[teacher2, student_second_class],
|
||||
name='second_class'
|
||||
|
|
|
|||
Loading…
Reference in New Issue