MDL-64283 competency: Correct numbering in tests

This commit is contained in:
Damyon Wiese
2018-11-30 09:38:23 +08:00
parent 56d8e413ba
commit 9485649edd
+2 -2
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)) {