Proyectos de Subversion Moodle

Rev

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

Rev 11 Rev 1441
Línea 29... Línea 29...
29
 * @package    auth_manual
29
 * @package    auth_manual
30
 * @category   test
30
 * @category   test
31
 * @copyright  2014 Gilles-Philippe Leblanc <gilles-philippe.leblanc@umontreal.ca>
31
 * @copyright  2014 Gilles-Philippe Leblanc <gilles-philippe.leblanc@umontreal.ca>
32
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
32
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
33
 */
33
 */
34
class manual_test extends \advanced_testcase {
34
final class manual_test extends \advanced_testcase {
Línea 35... Línea 35...
35
 
35
 
36
    /** @var auth_plugin_manual Keeps the authentication plugin. */
36
    /** @var auth_plugin_manual Keeps the authentication plugin. */
Línea 37... Línea 37...
37
    protected $authplugin;
37
    protected $authplugin;
38
 
38
 
39
    /**
39
    /**
40
     * Setup test data.
40
     * Setup test data.
-
 
41
     */
41
     */
42
    protected function setUp(): void {
42
    protected function setUp(): void {
43
        parent::setUp();
43
        $this->resetAfterTest(true);
44
        $this->resetAfterTest(true);
44
        $this->authplugin = new auth_plugin_manual();
45
        $this->authplugin = new auth_plugin_manual();
45
        set_config('expiration', '1', 'auth_manual');
46
        set_config('expiration', '1', 'auth_manual');