Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.4.5, 3.5.2, 3.6
-
None
-
MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE
-
MDL-63670-master
Description
message/tests/api_test.php and message/tests/events_test.php both extend core_message_messagelib_testcase which also has its own tests.
As a result, those tests are incorporated into all three files and are run three times.
Additionally these tests contain a setUp which run resetAfterTest() which means that it is not possible to write tests which do not need a reset.
Attachments
Issue Links
- has a non-specific relationship to
-
MDLSITE-5960 Ban use of resetAfterTest in shared setup
-
- Open
-
- has been marked as being related by
-
MDL-65093 Users should be informed that they can't block a user who has permission to message all users
-
- Closed
-