Proyectos de Subversion Moodle

Rev

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

Rev 11 Rev 1441
Línea 35... Línea 35...
35
 *
35
 *
36
 * @copyright   2018 Andrew Nicols <andrew@nicols.co.uk>
36
 * @copyright   2018 Andrew Nicols <andrew@nicols.co.uk>
37
 * @license     http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
37
 * @license     http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
38
 * @coversDefaultClass \core_privacy\local\request\helper
38
 * @coversDefaultClass \core_privacy\local\request\helper
39
 */
39
 */
40
class request_helper_test extends advanced_testcase {
40
final class request_helper_test extends advanced_testcase {
41
    /**
41
    /**
42
     * Test that basic module data is returned.
42
     * Test that basic module data is returned.
43
     *
43
     *
44
     * @covers ::get_context_data
44
     * @covers ::get_context_data
45
     */
45
     */
Línea 201... Línea 201...
201
            'itemid'    => 0,
201
            'itemid'    => 0,
202
            'filepath'  => '/',
202
            'filepath'  => '/',
203
            'filename'  => 'logo.png',
203
            'filename'  => 'logo.png',
204
        );
204
        );
Línea 205... Línea 205...
205
 
205
 
Línea 206... Línea 206...
206
        $content = file_get_contents(__DIR__ . '/fixtures/logo.png');
206
        $content = file_get_contents(self::get_fixture_path('core_privacy', 'logo.png'));
207
 
207
 
208
        // Store the file.
208
        // Store the file.