Skip to content

Commit

Permalink
EVOSTDM-2792 - MDL 4.0 - Valider nos plugins - Partie 3 - Divers
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Caya committed Nov 22, 2022
1 parent 4bfa60c commit 1fed90b
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 12 deletions.
1 change: 1 addition & 0 deletions classes/privacy/provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
* @copyright 2019 Université de Montréal
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

namespace tool_cohortsync\privacy;

/**
Expand Down
1 change: 0 additions & 1 deletion db/access.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,3 @@
* @author Issam Taboubi <[email protected]>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

24 changes: 14 additions & 10 deletions tests/cohortmembersync_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;

/**
Expand Down
6 changes: 5 additions & 1 deletion tests/cohortsync_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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 */
Expand Down

0 comments on commit 1fed90b

Please sign in to comment.