Proyectos de Subversion Moodle

Rev

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

Rev 11 Rev 1441
Línea 30... Línea 30...
30
 *
30
 *
31
 * @package    report_stats
31
 * @package    report_stats
32
 * @copyright  2014 onwards Ankit agarwal <ankit.agrr@gmail.com>
32
 * @copyright  2014 onwards Ankit agarwal <ankit.agrr@gmail.com>
33
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later.
33
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later.
34
 */
34
 */
35
class lib_test extends \advanced_testcase {
35
final class lib_test extends \advanced_testcase {
Línea 36... Línea 36...
36
 
36
 
37
    /**
37
    /**
38
     * @var stdClass The user.
38
     * @var stdClass The user.
39
     */
39
     */
Línea 48... Línea 48...
48
     * @var \core_user\output\myprofile\tree The navigation tree.
48
     * @var \core_user\output\myprofile\tree The navigation tree.
49
     */
49
     */
50
    private $tree;
50
    private $tree;
Línea 51... Línea 51...
51
 
51
 
-
 
52
    public function setUp(): void {
52
    public function setUp(): void {
53
        parent::setUp();
53
        $this->user = $this->getDataGenerator()->create_user();
54
        $this->user = $this->getDataGenerator()->create_user();
54
        $this->course = $this->getDataGenerator()->create_course();
55
        $this->course = $this->getDataGenerator()->create_course();
55
        $this->tree = new \core_user\output\myprofile\tree();
56
        $this->tree = new \core_user\output\myprofile\tree();
56
        $this->resetAfterTest();
57
        $this->resetAfterTest();