Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 38... Línea 38...
38
 */
38
 */
39
class provider_test extends \core_privacy\tests\provider_testcase {
39
class provider_test extends \core_privacy\tests\provider_testcase {
40
    /**
40
    /**
41
     * When no preference exists, there should be no export.
41
     * When no preference exists, there should be no export.
42
     */
42
     */
43
    public function test_preference_unset() {
43
    public function test_preference_unset(): void {
44
        global $USER;
44
        global $USER;
Línea 45... Línea 45...
45
 
45
 
46
        $this->resetAfterTest();
46
        $this->resetAfterTest();
Línea 52... Línea 52...
52
    }
52
    }
Línea 53... Línea 53...
53
 
53
 
54
    /**
54
    /**
55
     * Preference does exist.
55
     * Preference does exist.
56
     */
56
     */
57
    public function test_preference_bool_true() {
57
    public function test_preference_bool_true(): void {
Línea 58... Línea 58...
58
        global $USER;
58
        global $USER;
59
 
59
 
Línea 78... Línea 78...
78
    }
78
    }
Línea 79... Línea 79...
79
 
79
 
80
    /**
80
    /**
81
     * Preference does exist using user custom fields.
81
     * Preference does exist using user custom fields.
82
     */
82
     */
83
    public function test_preference_bool_true_for_user_customfields() {
83
    public function test_preference_bool_true_for_user_customfields(): void {
Línea 84... Línea 84...
84
        global $USER;
84
        global $USER;
85
 
85