Proyectos de Subversion Moodle

Rev

Rev 11 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 11 Rev 1441
Línea 38... Línea 38...
38
 * @package    core_enrol
38
 * @package    core_enrol
39
 * @category   test
39
 * @category   test
40
 * @copyright  2018 Carlos Escobedo <carlos@moodle.com>
40
 * @copyright  2018 Carlos Escobedo <carlos@moodle.com>
41
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
41
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
42
 */
42
 */
43
class provider_test extends provider_testcase {
43
final class provider_test extends provider_testcase {
44
    /**
44
    /**
45
     * Check that a course context is returned if there is any user data for this user.
45
     * Check that a course context is returned if there is any user data for this user.
46
     */
46
     */
47
    public function test_get_contexts_for_userid(): void {
47
    public function test_get_contexts_for_userid(): void {
48
        $this->resetAfterTest();
48
        $this->resetAfterTest();