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
</html>
61
</html>
62
EOD;
62
EOD;
63
    /**
63
    /**
64
     * Test for >Anchor tags containing a nested img tag, must not have an empty alt attribute
64
     * Test for >Anchor tags containing a nested img tag, must not have an empty alt attribute
65
     */
65
     */
66
    public function test_check() {
66
    public function test_check(): void {
67
        $results = $this->get_checker_results($this->htmlfail);
67
        $results = $this->get_checker_results($this->htmlfail);
68
        $this->assertTrue($results[0]->element->tagName == 'img');
68
        $this->assertTrue($results[0]->element->tagName == 'img');
Línea 69... Línea 69...
69
 
69
 
70
        $results = $this->get_checker_results($this->htmlpass);
70
        $results = $this->get_checker_results($this->htmlpass);