Skip to content

Commit

Permalink
feat: Remove teacher title (#1566)
Browse files Browse the repository at this point in the history
* feat: remove teacher title
  • Loading branch information
razvan-pro committed Aug 19, 2021
1 parent 89b4162 commit 1fae7be
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions aimmo/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ def setUpTestData(cls):
cls.user.save()
user_profile: UserProfile = UserProfile(user=cls.user)
user_profile.save()
teacher: Teacher = Teacher.objects.create(
user=user_profile, new_user=cls.user, title="Mx"
)
teacher: Teacher = Teacher.objects.create(user=user_profile, new_user=cls.user)
teacher.save()
cls.klass, _, _ = create_class_directly(cls.user.email)
cls.klass.save()
Expand Down Expand Up @@ -490,7 +488,7 @@ def test_delete_games(self):
new_user_profile: UserProfile = UserProfile(user=new_user)
new_user_profile.save()
new_teacher: Teacher = Teacher.objects.create(
user=new_user_profile, new_user=new_user, title="Mx"
user=new_user_profile, new_user=new_user
)
new_teacher.save()
new_klass, _, _ = create_class_directly(new_user.email)
Expand Down

0 comments on commit 1fae7be

Please sign in to comment.