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 2020-11-26 09:29:43 +01:00
parent 511a87f5fc
commit 9798fb06c8

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;