Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 35... Línea 35...
35
class lib_test extends \advanced_testcase {
35
class lib_test extends \advanced_testcase {
Línea 36... Línea 36...
36
 
36
 
37
    /**
37
    /**
38
     * Test report_log_supports_logstore.
38
     * Test report_log_supports_logstore.
39
     */
39
     */
40
    public function test_report_participation_supports_logstore() {
40
    public function test_report_participation_supports_logstore(): void {
41
        $logmanager = get_log_manager();
41
        $logmanager = get_log_manager();
Línea 42... Línea 42...
42
        $allstores = \core_component::get_plugin_list_with_class('logstore', 'log\store');
42
        $allstores = \core_component::get_plugin_list_with_class('logstore', 'log\store');
43
 
43
 
Línea 57... Línea 57...
57
    /**
57
    /**
58
     * Test the latest record timestamp of the report data set.
58
     * Test the latest record timestamp of the report data set.
59
     *
59
     *
60
     * @covers ::get_until()
60
     * @covers ::get_until()
61
     */
61
     */
62
    public function test_report_get_until() {
62
    public function test_report_get_until(): void {
63
        global $DB;
63
        global $DB;
64
        $this->resetAfterTest();
64
        $this->resetAfterTest();
65
        $this->preventResetByRollback();
65
        $this->preventResetByRollback();
66
        $now = time();
66
        $now = time();