Proyectos de Subversion Moodle

Rev

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

Rev 11 Rev 1441
Línea 31... Línea 31...
31
 * @subpackage  moodle2
31
 * @subpackage  moodle2
32
 * @category    test
32
 * @category    test
33
 * @copyright 2017 Dmitrii Metelkin (dmitriim@catalyst-au.net)
33
 * @copyright 2017 Dmitrii Metelkin (dmitriim@catalyst-au.net)
34
 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
34
 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
35
 */
35
 */
36
class backup_xml_transformer_test extends \advanced_testcase {
36
final class backup_xml_transformer_test extends \advanced_testcase {
Línea 37... Línea 37...
37
 
37
 
38
    /**
38
    /**
39
     * Initial set up.
39
     * Initial set up.
40
     */
40
     */
Línea 47... Línea 47...
47
    /**
47
    /**
48
     * Data provider for ::test_filephp_links_replace.
48
     * Data provider for ::test_filephp_links_replace.
49
     *
49
     *
50
     * @return array
50
     * @return array
51
     */
51
     */
52
    public function filephp_links_replace_data_provider() {
52
    public static function filephp_links_replace_data_provider(): array {
53
        return array(
53
        return array(
54
            array('http://test.test/', 'http://test.test/'),
54
            array('http://test.test/', 'http://test.test/'),
55
            array('http://test.test/file.php/1', 'http://test.test/file.php/1'),
55
            array('http://test.test/file.php/1', 'http://test.test/file.php/1'),
56
            array('http://test.test/file.php/2/1.jpg', 'http://test.test/file.php/2/1.jpg'),
56
            array('http://test.test/file.php/2/1.jpg', 'http://test.test/file.php/2/1.jpg'),
57
            array('http://test.test/file.php/2', 'http://test.test/file.php/2'),
57
            array('http://test.test/file.php/2', 'http://test.test/file.php/2'),