Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 25... Línea 25...
25
 * @category   test
25
 * @category   test
26
 * @copyright  2021 Sara Arjona (sara@moodle.com)
26
 * @copyright  2021 Sara Arjona (sara@moodle.com)
27
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
27
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
28
 * @coversDefaultClass \tool_admin_presets\local\action\export
28
 * @coversDefaultClass \tool_admin_presets\local\action\export
29
 */
29
 */
30
class export_test extends \advanced_testcase {
30
final class export_test extends \advanced_testcase {
Línea 31... Línea 31...
31
 
31
 
32
    /**
32
    /**
33
     * Test the behaviour of execute() method.
33
     * Test the behaviour of execute() method.
34
     * @covers ::execute
34
     * @covers ::execute
Línea 154... Línea 154...
154
    /**
154
    /**
155
     * Data provider for test_export_execute().
155
     * Data provider for test_export_execute().
156
     *
156
     *
157
     * @return array
157
     * @return array
158
     */
158
     */
159
    public function export_execute_provider(): array {
159
    public static function export_execute_provider(): array {
160
        return [
160
        return [
161
            'Export settings and plugins, excluding sensible' => [
161
            'Export settings and plugins, excluding sensible' => [
162
                'includesensible' => false,
162
                'includesensible' => false,
163
            ],
163
            ],
164
            'Export settings and plugins, including sensible' => [
164
            'Export settings and plugins, including sensible' => [