Proyectos de Subversion Moodle

Rev

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

Rev 11 Rev 1441
Línea 24... Línea 24...
24
 *
24
 *
25
 * @package    tool_lpmigrate
25
 * @package    tool_lpmigrate
26
 * @copyright  2016 Frédéric Massart - FMCorz.net
26
 * @copyright  2016 Frédéric Massart - FMCorz.net
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
 */
28
 */
29
class processor_test extends \advanced_testcase {
29
final class processor_test extends \advanced_testcase {
Línea 30... Línea 30...
30
 
30
 
31
    /** @var \core_competency\competency_framework|null $f1  */
31
    /** @var \core_competency\competency_framework|null $f1  */
Línea 32... Línea 32...
32
    protected $f1 = null;
32
    protected $f1 = null;
Línea 61... Línea 61...
61
     * We create 2 frameworks, each with 2 matching competencies and 1 foreign.
61
     * We create 2 frameworks, each with 2 matching competencies and 1 foreign.
62
     * Then we create 2 courses, and in each 1 CM.
62
     * Then we create 2 courses, and in each 1 CM.
63
     * Then we attach some competencies from the first framework to courses and CM.
63
     * Then we attach some competencies from the first framework to courses and CM.
64
     */
64
     */
65
    public function setUp(): void {
65
    public function setUp(): void {
-
 
66
        parent::setUp();
66
        $this->resetAfterTest(true);
67
        $this->resetAfterTest(true);
67
        $dg = $this->getDataGenerator();
68
        $dg = $this->getDataGenerator();
68
        $lpg = $dg->get_plugin_generator('core_competency');
69
        $lpg = $dg->get_plugin_generator('core_competency');
Línea 69... Línea 70...
69
 
70