-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EVOSTDM-2792 - MDL 4.0 - Valider nos plugins - Partie 3 - Divers
- Loading branch information
Andrew Caya
committed
Nov 22, 2022
1 parent
4bfa60c
commit 1fed90b
Showing
4 changed files
with
20 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,4 +22,3 @@ | |
* @author Issam Taboubi <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,8 +22,11 @@ | |
* @author Issam Taboubi <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
*/ | ||
|
||
namespace tool_cohortsync; | ||
|
||
use tool_cohortsync\cohortmembersync; | ||
|
||
defined('MOODLE_INTERNAL') || die(); | ||
|
||
global $CFG; | ||
|
@@ -37,37 +40,38 @@ | |
* @copyright 2016 Université de Montréal | ||
* @author Issam Taboubi <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
* @covers \tool_cohortsync\cohortmembersync | ||
*/ | ||
class cohortmembersync_test extends \advanced_testcase { | ||
|
||
/** @var progress_trace trace */ | ||
/** @var \progress_trace trace */ | ||
protected $trace = null; | ||
|
||
/** @var coursecat created */ | ||
/** @var \coursecat created */ | ||
protected $cat1 = null; | ||
|
||
/** @var coursecat created */ | ||
/** @var \coursecat created */ | ||
protected $cat2 = null; | ||
|
||
/** @var context of category 1 */ | ||
/** @var \context of category 1 */ | ||
protected $contextcat1 = null; | ||
|
||
/** @var context of category 2 */ | ||
/** @var \context of category 2 */ | ||
protected $contextcat2 = null; | ||
|
||
/** @var cohort created */ | ||
/** @var \cohort created */ | ||
protected $cohort1 = null; | ||
|
||
/** @var cohort created */ | ||
/** @var \cohort created */ | ||
protected $cohort2 = null; | ||
|
||
/** @var user created */ | ||
/** @var \user created */ | ||
protected $user1 = null; | ||
|
||
/** @var user created */ | ||
/** @var \user created */ | ||
protected $user2 = null; | ||
|
||
/** @var user created */ | ||
/** @var \user created */ | ||
protected $user3 = null; | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,8 +22,11 @@ | |
* @author Issam Taboubi <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
*/ | ||
|
||
namespace tool_cohortsync; | ||
|
||
use tool_cohortsync\cohortsync; | ||
|
||
defined('MOODLE_INTERNAL') || die(); | ||
|
||
global $CFG; | ||
|
@@ -37,10 +40,11 @@ | |
* @copyright 2016 Université de Montréal | ||
* @author Issam Taboubi <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
* @covers \tool_cohortsync\cohortsync | ||
*/ | ||
class cohortsync_test extends \advanced_testcase { | ||
|
||
/** @var progress_trace trace */ | ||
/** @var \progress_trace trace */ | ||
protected $trace = null; | ||
|
||
/** @var array common columns in header */ | ||
|