MDL-70412 groups: Improving create_group data generator

Increasing the size of the name for generated groups
to ensure we don't have problems with ordering.
This commit is contained in:
Amaia Anabitarte
2021-04-15 16:57:23 +02:00
parent 7811d7ace4
commit e58d63f078
+1 -1
View File
@@ -509,7 +509,7 @@ EOD;
require_once($CFG->dirroot . '/group/lib.php');
$this->groupcount++;
$i = $this->groupcount;
$i = str_pad($this->groupcount, 4, '0', STR_PAD_LEFT);
$record = (array)$record;