Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 61... Línea 61...
61
        bool $approved = true,
61
        bool $approved = true,
62
        bool $enablecomments = false,
62
        bool $enablecomments = false,
63
        bool $enableratings = false,
63
        bool $enableratings = false,
64
        array $options = [],
64
        array $options = [],
65
        bool $otherauthor = false
65
        bool $otherauthor = false
66
    ) {
66
    ): void {
67
        global $DB, $PAGE;
67
        global $DB, $PAGE;
68
        // Comments, tags, approval, user role.
68
        // Comments, tags, approval, user role.
69
        $this->resetAfterTest();
69
        $this->resetAfterTest();
Línea 70... Línea 70...
70
 
70
 
Línea 850... Línea 850...
850
     */
850
     */
851
    public function test_parse_add_entry(
851
    public function test_parse_add_entry(
852
        string $templatecontent,
852
        string $templatecontent,
853
        string $expected,
853
        string $expected,
854
        bool $newentry = false
854
        bool $newentry = false
855
    ) {
855
    ): void {
856
        global $DB, $PAGE;
856
        global $DB, $PAGE;
857
        // Comments, tags, approval, user role.
857
        // Comments, tags, approval, user role.
858
        $this->resetAfterTest();
858
        $this->resetAfterTest();
Línea 859... Línea 859...
859
 
859