MDL-64283 competency: Correct numbering in tests

This commit is contained in:
Damyon Wiese 2018-11-30 09:30:50 +08:00
parent 0225ad42ea
commit afd5c94dbf

View File

@ -95,8 +95,8 @@ class core_competency_generator extends component_generator_base {
* @return competency
*/
public function create_competency($record = null) {
$this->frameworkcount++;
$i = $this->frameworkcount;
$this->competencycount++;
$i = $this->competencycount;
$record = (object) $record;
if (!isset($record->competencyframeworkid)) {