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_profile
22
 * @package availability_profile
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
    /** @var profile_define_text Profile field for testing */
27
    /** @var profile_define_text Profile field for testing */
28
    protected $profilefield;
28
    protected $profilefield;
Línea 29... Línea 29...
29
 
29
 
30
    /** @var array Array of user IDs for whome we already set the profile field */
30
    /** @var array Array of user IDs for whome we already set the profile field */
Línea 35... Línea 35...
35
    /** @var \core_availability\info Current info */
35
    /** @var \core_availability\info Current info */
36
    private $info;
36
    private $info;
Línea 37... Línea 37...
37
 
37
 
38
    public function setUp(): void {
38
    public function setUp(): void {
-
 
39
        global $DB, $CFG;
Línea 39... Línea 40...
39
        global $DB, $CFG;
40
        parent::setUp();
Línea 40... Línea 41...
40
 
41
 
41
        $this->resetAfterTest();
42
        $this->resetAfterTest();