Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 27... Línea 27...
27
 */
27
 */
28
class action_factory_test extends \advanced_testcase {
28
class action_factory_test extends \advanced_testcase {
29
    /**
29
    /**
30
     * Test action factory.
30
     * Test action factory.
31
     */
31
     */
32
    public function test_action_factory() {
32
    public function test_action_factory(): void {
33
        $factory = new action_factory();
33
        $factory = new action_factory();
34
        $instance = $factory->create_instance(
34
        $instance = $factory->create_instance(
35
            'test',
35
            'test',
36
            new \moodle_url('http://example.com'),
36
            new \moodle_url('http://example.com'),
37
            1729,
37
            1729,