Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 42... Línea 42...
42
 */
42
 */
43
class provider_test extends \core_privacy\tests\provider_testcase {
43
class provider_test extends \core_privacy\tests\provider_testcase {
44
    /**
44
    /**
45
     * When no preference exists, there should be no export.
45
     * When no preference exists, there should be no export.
46
     */
46
     */
47
    public function test_preference_unset() {
47
    public function test_preference_unset(): void {
48
        global $USER;
48
        global $USER;
Línea 49... Línea 49...
49
 
49
 
50
        $this->resetAfterTest();
50
        $this->resetAfterTest();
Línea 56... Línea 56...
56
    }
56
    }
Línea 57... Línea 57...
57
 
57
 
58
    /**
58
    /**
59
     * Preference does exist.
59
     * Preference does exist.
60
     */
60
     */
61
    public function test_preference_bool_true() {
61
    public function test_preference_bool_true(): void {
Línea 62... Línea 62...
62
        global $USER;
62
        global $USER;
63
 
63
 
Línea 86... Línea 86...
86
    }
86
    }
Línea 87... Línea 87...
87
 
87
 
88
    /**
88
    /**
89
     * Preference does exist.
89
     * Preference does exist.
90
     */
90
     */
91
    public function test_preference_bool_false() {
91
    public function test_preference_bool_false(): void {
Línea 92... Línea 92...
92
        global $USER;
92
        global $USER;
93
 
93
 
Línea 116... Línea 116...
116
    }
116
    }
Línea 117... Línea 117...
117
 
117
 
118
    /**
118
    /**
119
     * Preference does exist.
119
     * Preference does exist.
120
     */
120
     */
121
    public function test_preference_bool_which_first() {
121
    public function test_preference_bool_which_first(): void {
Línea 122... Línea 122...
122
        global $USER;
122
        global $USER;
123
 
123