Page MenuHomePhabricator

Reset DB tables between test runs in DatabaseBlockTest.php
Closed, ResolvedPublic

Description

The test file tests/phpunit/includes/block/DatabaseBlockTest.php does not use tablesUsed. This means that in patches such as I5a2928eb3370bd47544b164b08014ef62297ce36 the block has to be deleted to ensure other tests pass. Ideally, the test methods should have no effect on the DB for the rest of the tests in the file.