Fixed quality and a typo

This commit is contained in:
Saleem Latif
2018-12-06 21:51:04 +05:00
parent 18b66819e2
commit a28eb818be
2 changed files with 3 additions and 3 deletions

View File

@@ -666,7 +666,7 @@ class TestMessageDeduplication(ModuleStoreTestCase):
self.user = UserFactory.create()
self.request_factory = RequestFactory()
ContentTypeGatingConfig.objects.create(enabled=True, enabled_as_of=date(2018, 1, 1))
ContentTypeGatingConfig.objects.create(enabled=True, enabled_as_of=datetime(2018, 1, 1))
def _create_course(self):
course = CourseFactory.create(run='test', display_name='test')