Proyectos de Subversion Moodle

Rev

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

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