mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Merge branch 'MDL-61407-master' of git://github.com/andrewnicols/moodle
This commit is contained in:
commit
209f6e1eda
123 changed files with 5000 additions and 33 deletions
|
@ -40,6 +40,14 @@ use \core_privacy\local\request\writer;
|
|||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class writer_test extends advanced_testcase {
|
||||
/**
|
||||
* Ensure that the writer is cleared away as appropriate after each
|
||||
* test.
|
||||
*/
|
||||
public function tearDown() {
|
||||
writer::reset();
|
||||
}
|
||||
|
||||
/**
|
||||
* Test that calling with_context multiple times will return the same write instance.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue