diff options
author | Daimona Eaytoy <daimona.wiki@gmail.com> | 2023-07-17 16:08:20 +0200 |
---|---|---|
committer | Umherirrender <umherirrender_de.wp@web.de> | 2023-07-29 14:26:50 +0000 |
commit | 2a0de02aabec6adc00606acce7372b38956e08d1 (patch) | |
tree | 9836d6406cec8086eb8192e235f2369852122b27 /tests/phpunit/includes/api/query/ApiQueryBlockInfoTraitTest.php | |
parent | 2ed1977c5c9dcc24740771ea0c57e5da4f3edd0b (diff) | |
download | mediawikicore-2a0de02aabec6adc00606acce7372b38956e08d1.tar.gz mediawikicore-2a0de02aabec6adc00606acce7372b38956e08d1.zip |
phpunit: Avoid TestUser in non-database tests
TestUser creates the user and therefore needs the database. Avoid using
it in non-database tests.
Add ApiQueryBlockInfoTraitTest to the Database group because it needs
the database.
Add DeleteUserEmailTest to the Database group because since 3bedffa8
the default user is not created any more in non-database tests
Change-Id: Iff438964dde47a47a2fa4a314d55010bd8c7fee5
Diffstat (limited to 'tests/phpunit/includes/api/query/ApiQueryBlockInfoTraitTest.php')
-rw-r--r-- | tests/phpunit/includes/api/query/ApiQueryBlockInfoTraitTest.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/phpunit/includes/api/query/ApiQueryBlockInfoTraitTest.php b/tests/phpunit/includes/api/query/ApiQueryBlockInfoTraitTest.php index 1ceccd4a29ed..e23e156b797d 100644 --- a/tests/phpunit/includes/api/query/ApiQueryBlockInfoTraitTest.php +++ b/tests/phpunit/includes/api/query/ApiQueryBlockInfoTraitTest.php @@ -6,6 +6,7 @@ use Wikimedia\Timestamp\ConvertibleTimestamp; /** * @covers ApiQueryBlockInfoTrait + * @group Database */ class ApiQueryBlockInfoTraitTest extends MediaWikiIntegrationTestCase { |