mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 20:42:22 +02:00
MDL-64283 competency: Correct numbering in tests
This commit is contained in:
parent
0225ad42ea
commit
afd5c94dbf
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user