MDL-67353 course: move form tearDown() to reset_all_data()
commit56930d1d672b87bbd88f2a05c4550ad4bc9bd885
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Wed, 29 Jan 2020 22:43:57 +0000 (29 23:43 +0100)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Wed, 29 Jan 2020 23:02:03 +0000 (30 00:02 +0100)
tree8ee723250376ba31d086bad3dc024c2896d9c00b
parente453665f7d84e4da842dd0f970e6f96dd078bfc7
MDL-67353 course: move form tearDown() to reset_all_data()

We are already cleaning all sort of caches, statics, singletons
there and it's better to ensure they are always reset to avoid
myterious failures @ distance.
course/classes/customfield/course_handler.php
customfield/tests/api_test.php
customfield/tests/category_controller_test.php
customfield/tests/data_controller_test.php
customfield/tests/field_controller_test.php
customfield/tests/generator_test.php
customfield/tests/privacy_test.php
lib/phpunit/classes/util.php