Proyectos de Subversion Moodle

Rev

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

Rev 11 Rev 1441
Línea 42... Línea 42...
42
 * @category   test
42
 * @category   test
43
 * @copyright  2018 Frédéric Massart
43
 * @copyright  2018 Frédéric Massart
44
 * @author     Frédéric Massart <fred@branchup.tech>
44
 * @author     Frédéric Massart <fred@branchup.tech>
45
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
45
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
46
 */
46
 */
47
class provider_test extends provider_testcase {
47
final class provider_test extends provider_testcase {
Línea 48... Línea 48...
48
 
48
 
49
    public function setUp(): void {
49
    public function setUp(): void {
-
 
50
        global $PAGE;
50
        global $PAGE;
51
        parent::setUp();
51
        $this->setAdminUser();  // The data generator complains without this.
52
        $this->setAdminUser();  // The data generator complains without this.
52
        $this->resetAfterTest();
53
        $this->resetAfterTest();
53
        $PAGE->get_renderer('core');
54
        $PAGE->get_renderer('core');