moodle/blocks/comments
Eloy Lafuente (stronk7) 674497a12c
MDL-81523 phpunit: Add all missing setUp/tearDown parent calls
All setUp(), tearDown(), setUpBeforeClass() and tearDownAfterClass()
must, always, call to parent, to ensure that everything is properly
set and cleaned.

While in a lot of situations this is not needed (parents may not
have anything to run), with PHPUnit >= 10 this can become more
important because we are going to move the reset code from current
placement @ runBare() to setUp()/tearDown().

Note that all the changes performed in this commit have been detected
and fixed by moodle-cs (ParentSetUpTearDownSniffTest).
2024-06-14 16:04:57 +02:00
..
classes MDL-65292 style: Fix all function declarations white space 2024-02-28 23:33:26 +01:00
db MDL-34270 blocks: Adding clonepermissionsfrom to the new capability definitions 2012-11-05 12:28:09 +08:00
lang/en MDL-62005 block_comments: Add implementation of Privacy API 2018-04-30 18:20:04 +10:00
tests MDL-81523 phpunit: Add all missing setUp/tearDown parent calls 2024-06-14 16:04:57 +02:00
block_comments.php MDL-73339 comments: Add block only if main feature is enabled 2021-12-30 13:17:49 +01:00
lib.php MDL-78300 block: Determine if users can comment based on context 2024-02-07 02:34:19 +01:00
version.php MDL-81549 versions: bump all versions and requires near release 2024-04-17 00:03:29 +08:00