Proyectos de Subversion Moodle

Rev

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

Rev 11 Rev 1441
Línea 38... Línea 38...
38
 *
38
 *
39
 * @copyright   2018 Andrew Nicols <andrew@nicols.co.uk>
39
 * @copyright   2018 Andrew Nicols <andrew@nicols.co.uk>
40
 * @license     http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
40
 * @license     http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
41
 * @coversDefaultClass \core_privacy\local\request\writer
41
 * @coversDefaultClass \core_privacy\local\request\writer
42
 */
42
 */
43
class writer_test extends advanced_testcase {
43
final class writer_test extends advanced_testcase {
44
    /**
44
    /**
45
     * Ensure that the writer is cleared away as appropriate after each
45
     * Ensure that the writer is cleared away as appropriate after each
46
     * test.
46
     * test.
47
     */
47
     */
48
    public function tearDown(): void {
48
    public function tearDown(): void {
49
        writer::reset();
49
        writer::reset();
-
 
50
        parent::tearDown();
50
    }
51
    }
Línea 51... Línea 52...
51
 
52
 
52
    /**
53
    /**
53
     * Test that calling with_context multiple times will return the same write instance.
54
     * Test that calling with_context multiple times will return the same write instance.