Proyectos de Subversion Moodle

Rev

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

Rev 11 Rev 1441
Línea 21... Línea 21...
21
 *
21
 *
22
 * @package availability_group
22
 * @package availability_group
23
 * @copyright 2014 The Open University
23
 * @copyright 2014 The Open University
24
 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
24
 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
25
 */
25
 */
26
class condition_test extends \advanced_testcase {
26
final class condition_test extends \advanced_testcase {
27
    /**
27
    /**
28
     * Load required classes.
28
     * Load required classes.
29
     */
29
     */
30
    public function setUp(): void {
30
    public function setUp(): void {
31
        // Load the mock info class so that it can be used.
31
        // Load the mock info class so that it can be used.
32
        global $CFG;
32
        global $CFG;
33
        require_once($CFG->dirroot . '/availability/tests/fixtures/mock_info.php');
33
        require_once($CFG->dirroot . '/availability/tests/fixtures/mock_info.php');
-
 
34
        parent::setUp();
34
    }
35
    }
Línea 35... Línea 36...
35
 
36
 
36
    /**
37
    /**
37
     * Tests constructing and using condition.
38
     * Tests constructing and using condition.