mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
MDL-36014 cohorts: specify exact cohort names in unittest
This commit is contained in:
parent
fbb250f8ef
commit
9b65d0dd62
@ -575,8 +575,8 @@ class core_cohort_cohortlib_testcase extends advanced_testcase {
|
||||
$cohort1 = $this->getDataGenerator()->create_cohort(array('contextid'=>$category1ctx->id, 'name'=>'aaagrrryyy', 'idnumber'=>'','description'=>''));
|
||||
$cohort2 = $this->getDataGenerator()->create_cohort(array('contextid'=>$category1ctx->id, 'name'=>'bbb', 'idnumber'=>'', 'description'=>'yyybrrr', 'visible'=>0));
|
||||
$cohort3 = $this->getDataGenerator()->create_cohort(array('contextid'=>$category2ctx->id, 'name'=>'ccc', 'idnumber'=>'xxarrrghyyy', 'description'=>'po_us'));
|
||||
$cohort4 = $this->getDataGenerator()->create_cohort(array('contextid'=>$systemctx->id));
|
||||
$cohort5 = $this->getDataGenerator()->create_cohort(array('contextid'=>$systemctx->id, 'visible'=>0));
|
||||
$cohort4 = $this->getDataGenerator()->create_cohort(array('contextid'=>$systemctx->id, 'name' => 'ddd'));
|
||||
$cohort5 = $this->getDataGenerator()->create_cohort(array('contextid'=>$systemctx->id, 'visible'=>0, 'name' => 'eee'));
|
||||
|
||||
/*
|
||||
Structure of generated course categories, courses and cohort:
|
||||
|
Loading…
x
Reference in New Issue
Block a user