create table that excludes enrollments from FBE
This commit is contained in:
@@ -84,9 +84,9 @@ class TestCourseDurationLimitConfig(CacheIsolationTestCase):
|
||||
user = self.user
|
||||
course_key = self.course_overview.id
|
||||
|
||||
query_count = 7
|
||||
if pass_enrollment and already_enrolled:
|
||||
query_count = 6
|
||||
query_count = 8
|
||||
if pass_enrollment and already_enrolled or not pass_enrollment and not already_enrolled:
|
||||
query_count = 7
|
||||
|
||||
with self.assertNumQueries(query_count):
|
||||
enabled = CourseDurationLimitConfig.enabled_for_enrollment(
|
||||
|
||||
Reference in New Issue
Block a user