Merge pull request #18756 from edx/colelrogers/LEARNER-6075-pathway-caching-pages

Fix pathway caching to work with multiple pages returned from endpoint
This commit is contained in:
Cole Rogers
2018-08-09 11:11:03 -04:00
committed by GitHub
3 changed files with 80 additions and 8 deletions

View File

@@ -49,7 +49,7 @@ class CatalogFixture(object):
"""
requests.put(
'{}/set_config'.format(CATALOG_STUB_URL),
data={'catalog.credit_pathways': json.dumps({'results': credit_pathways})}
data={'catalog.credit_pathways': json.dumps({'results': credit_pathways, 'next': None})}
)
def install_program_types(self, program_types):