Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 36... Línea 36...
36
 * @copyright  2020 Victor Deniz <victor@moodle.com>
36
 * @copyright  2020 Victor Deniz <victor@moodle.com>
37
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
37
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
38
 *
38
 *
39
 * @runTestsInSeparateProcesses
39
 * @runTestsInSeparateProcesses
40
 */
40
 */
41
class editor_ajax_test extends \advanced_testcase {
41
final class editor_ajax_test extends \advanced_testcase {
Línea 42... Línea 42...
42
 
42
 
43
    /** @var editor_ajax H5P editor ajax instance */
43
    /** @var editor_ajax H5P editor ajax instance */
Línea 44... Línea 44...
44
    protected $editorajax;
44
    protected $editorajax;
Línea 159... Línea 159...
159
    /**
159
    /**
160
     * Data provider for test_get_translations().
160
     * Data provider for test_get_translations().
161
     *
161
     *
162
     * @return array
162
     * @return array
163
     */
163
     */
164
    public function get_translations_provider(): array {
164
    public static function get_translations_provider(): array {
165
        return [
165
        return [
166
            'No library' => [
166
            'No library' => [
167
                [],
167
                [],
168
                'es',
168
                'es',
169
                true,
169
                true,