Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 39... Línea 39...
39
 */
39
 */
40
class provider_test extends \core_privacy\tests\provider_testcase {
40
class provider_test extends \core_privacy\tests\provider_testcase {
41
    /**
41
    /**
42
     * When no preference exists, there should be no export.
42
     * When no preference exists, there should be no export.
43
     */
43
     */
44
    public function test_preference_unset() {
44
    public function test_preference_unset(): void {
45
        global $USER;
45
        global $USER;
Línea 46... Línea 46...
46
 
46
 
47
        $this->resetAfterTest();
47
        $this->resetAfterTest();
Línea 53... Línea 53...
53
    }
53
    }
Línea 54... Línea 54...
54
 
54
 
55
    /**
55
    /**
56
     * Preference does exist.
56
     * Preference does exist.
57
     */
57
     */
58
    public function test_preference_yes() {
58
    public function test_preference_yes(): void {
Línea 59... Línea 59...
59
        $this->resetAfterTest();
59
        $this->resetAfterTest();
60
 
60
 
61
        // Create test user, add some preferences.
61
        // Create test user, add some preferences.
Línea 81... Línea 81...
81
    }
81
    }
Línea 82... Línea 82...
82
 
82
 
83
    /**
83
    /**
84
     * Preference does exist and is no.
84
     * Preference does exist and is no.
85
     */
85
     */
86
    public function test_preference_no() {
86
    public function test_preference_no(): void {
Línea 87... Línea 87...
87
        $this->resetAfterTest();
87
        $this->resetAfterTest();
88
 
88
 
89
        // Create test user, add some preferences.
89
        // Create test user, add some preferences.