Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 37... Línea 37...
37
     * Verify the xxx_ids_cached (in-memory backup_ids cache) stuff works as expected.
37
     * Verify the xxx_ids_cached (in-memory backup_ids cache) stuff works as expected.
38
     *
38
     *
39
     * Note that those private implementations are tested here by using the public
39
     * Note that those private implementations are tested here by using the public
40
     * backup_ids API and later performing low-level tests.
40
     * backup_ids API and later performing low-level tests.
41
     */
41
     */
42
    public function test_backup_ids_cached() {
42
    public function test_backup_ids_cached(): void {
43
        global $DB;
43
        global $DB;
44
        $dbman = $DB->get_manager(); // We are going to use database_manager services.
44
        $dbman = $DB->get_manager(); // We are going to use database_manager services.
Línea 45... Línea 45...
45
 
45
 
Línea 307... Línea 307...
307
     * @param array $dbuser
307
     * @param array $dbuser
308
     * @param array $backupuser
308
     * @param array $backupuser
309
     * @param bool $samesite
309
     * @param bool $samesite
310
     * @param mixed $outcome
310
     * @param mixed $outcome
311
     **/
311
     **/
312
    public function test_precheck_user($dbuser, $backupuser, $samesite, $outcome) {
312
    public function test_precheck_user($dbuser, $backupuser, $samesite, $outcome): void {
313
        global $DB;
313
        global $DB;
Línea 314... Línea 314...
314
 
314
 
Línea 315... Línea 315...
315
        $this->resetAfterTest();
315
        $this->resetAfterTest();