Proyectos de Subversion Moodle

Rev

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

Rev 11 Rev 1441
Línea 48... Línea 48...
48
     *
48
     *
49
     * @dataProvider availability_levels
49
     * @dataProvider availability_levels
50
     * @param string $availabilitylevel
50
     * @param string $availabilitylevel
51
     * @return void
51
     * @return void
52
     */
52
     */
53
    public function test_get_activities_with_availability($availabilitylevel) {
53
    public function test_get_activities_with_availability($availabilitylevel): void {
Línea 54... Línea 54...
54
 
54
 
Línea 55... Línea 55...
55
        list($course, $stu1) = $this->setup_course();
55
        list($course, $stu1) = $this->setup_course();
56
 
56
 
Línea 111... Línea 111...
111
    /**
111
    /**
112
     * test_get_activities_with_weeks
112
     * test_get_activities_with_weeks
113
     *
113
     *
114
     * @return void
114
     * @return void
115
     */
115
     */
116
    public function test_get_activities_with_weeks() {
116
    public function test_get_activities_with_weeks(): void {
Línea 117... Línea 117...
117
 
117
 
118
        $startdate = gmmktime('0', '0', '0', 10, 24, 2015);
118
        $startdate = gmmktime('0', '0', '0', 10, 24, 2015);
119
        $record = array(
119
        $record = array(
120
            'format' => 'weeks',
120
            'format' => 'weeks',
Línea 154... Línea 154...
154
    /**
154
    /**
155
     * test_get_activities_by_section
155
     * test_get_activities_by_section
156
     *
156
     *
157
     * @return void
157
     * @return void
158
     */
158
     */
159
    public function test_get_activities_by_section() {
159
    public function test_get_activities_by_section(): void {
Línea 160... Línea 160...
160
 
160
 
161
        // This makes debugging easier, sorry WA's +8 :).
161
        // This makes debugging easier, sorry WA's +8 :).
Línea 162... Línea 162...
162
        $this->setTimezone('UTC');
162
        $this->setTimezone('UTC');
Línea 224... Línea 224...
224
    /**
224
    /**
225
     * test_get_activities_with_specific_restrictions
225
     * test_get_activities_with_specific_restrictions
226
     *
226
     *
227
     * @return void
227
     * @return void
228
     */
228
     */
229
    public function test_get_activities_with_specific_restrictions() {
229
    public function test_get_activities_with_specific_restrictions(): void {
Línea 230... Línea 230...
230
 
230
 
Línea 231... Línea 231...
231
        list($course, $stu1) = $this->setup_course();
231
        list($course, $stu1) = $this->setup_course();