Línea 24... |
Línea 24... |
24 |
* @package enrol_lti
|
24 |
* @package enrol_lti
|
25 |
* @copyright 2021 Jake Dallimore <jrhdallimore@gmail.com>
|
25 |
* @copyright 2021 Jake Dallimore <jrhdallimore@gmail.com>
|
26 |
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
26 |
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
27 |
* @coversDefaultClass \enrol_lti\local\ltiadvantage\repository\user_repository
|
27 |
* @coversDefaultClass \enrol_lti\local\ltiadvantage\repository\user_repository
|
28 |
*/
|
28 |
*/
|
29 |
class user_repository_test extends \advanced_testcase {
|
29 |
final class user_repository_test extends \advanced_testcase {
|
30 |
/**
|
30 |
/**
|
31 |
* Helper to generate a new user instance.
|
31 |
* Helper to generate a new user instance.
|
32 |
*
|
32 |
*
|
33 |
* @param int $mockresourceid used to spoof a published resource, to which this user is associated.
|
33 |
* @param int $mockresourceid used to spoof a published resource, to which this user is associated.
|
34 |
* @param array $userfields user information like city, timezone which would normally come from the tool configuration.
|
34 |
* @param array $userfields user information like city, timezone which would normally come from the tool configuration.
|