Remove unnecessary patches to User::is_authenticated

This commit is contained in:
bmedx
2017-12-20 16:36:26 -05:00
parent f9d50526e3
commit bc72c28a03
2 changed files with 8 additions and 10 deletions

View File

@@ -98,7 +98,6 @@ class CourseTestCase(ProceduralCourseTestMixin, ModuleStoreTestCase):
client = AjaxEnabledTestClient()
if authenticate:
client.login(username=nonstaff.username, password=password)
nonstaff.is_authenticated = lambda: authenticate
return client, nonstaff
def reload_course(self):