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
     * The approved userlist should not be modifiable once set.
42
     * The approved userlist should not be modifiable once set.
43
     *
43
     *
44
     * @covers ::__construct
44
     * @covers ::__construct
45
     * @covers \core_privacy\local\request\approved_userlist<extended>
45
     * @covers \core_privacy\local\request\approved_userlist<extended>
46
     */
46
     */
47
    public function test_default_values_set() {
47
    public function test_default_values_set(): void {
48
        $this->resetAfterTest();
48
        $this->resetAfterTest();
Línea 49... Línea 49...
49
 
49
 
50
        $u1 = $this->getDataGenerator()->create_user();
50
        $u1 = $this->getDataGenerator()->create_user();
51
        $u2 = $this->getDataGenerator()->create_user();
51
        $u2 = $this->getDataGenerator()->create_user();
Línea 74... Línea 74...
74
 
74
 
75
    /**
75
    /**
76
     * @covers ::create_from_userlist
76
     * @covers ::create_from_userlist
77
     * @covers \core_privacy\local\request\approved_userlist<extended>
77
     * @covers \core_privacy\local\request\approved_userlist<extended>
78
     */
78
     */
79
    public function test_create_from_userlist() {
79
    public function test_create_from_userlist(): void {
Línea 80... Línea 80...
80
        $this->resetAfterTest();
80
        $this->resetAfterTest();
81
 
81
 
82
        $u1 = $this->getDataGenerator()->create_user();
82
        $u1 = $this->getDataGenerator()->create_user();