Fixing an issue with double digit interaction counts

This commit is contained in:
Jonathan Putney
2020-06-26 12:07:06 -04:00
parent 8f2db32e27
commit 9847b0f1eb
6 changed files with 29 additions and 15 deletions

View File

@@ -282,7 +282,12 @@ describe('SCORM 1.2 API Tests', () => {
});
h.checkLMSSetValue({
api: apiInitialized(),
fieldName: 'cmi.interactions.0.correct_responses.0.pattern',
fieldName: 'cmi.interactions.0.objectives.0.id',
valueToTest: 'AAA',
});
h.checkLMSSetValue({
api: apiInitialized(),
fieldName: 'cmi.interactions.10.correct_responses.0.pattern',
valueToTest: 't',
});
});