diff options
author | Reedy <reedy@wikimedia.org> | 2024-02-16 19:35:21 +0000 |
---|---|---|
committer | Reedy <reedy@wikimedia.org> | 2024-02-18 15:47:04 +0000 |
commit | 75640200fbe8086c7fa71dd0c0b3751752c1843c (patch) | |
tree | 4da31ad0214062f66da5d167222ac270544b51f9 /tests/phpunit/includes/api/query/ApiQueryTestBase.php | |
parent | d431e802d50596ead1e42af485c14de350ee21d1 (diff) | |
download | mediawikicore-75640200fbe8086c7fa71dd0c0b3751752c1843c.tar.gz mediawikicore-75640200fbe8086c7fa71dd0c0b3751752c1843c.zip |
tests: Namespace api tests
Bug: T357823
Change-Id: I0d7cc2c9b166d5e5b913c1305f7cee017fe377af
Diffstat (limited to 'tests/phpunit/includes/api/query/ApiQueryTestBase.php')
-rw-r--r-- | tests/phpunit/includes/api/query/ApiQueryTestBase.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/phpunit/includes/api/query/ApiQueryTestBase.php b/tests/phpunit/includes/api/query/ApiQueryTestBase.php index 555c51fa416e..53189fb93e0f 100644 --- a/tests/phpunit/includes/api/query/ApiQueryTestBase.php +++ b/tests/phpunit/includes/api/query/ApiQueryTestBase.php @@ -1,4 +1,5 @@ <?php + /** * Copyright © 2013 Yuri Astrakhan "<Firstname><Lastname>@gmail.com" * @@ -20,11 +21,15 @@ * @file */ +namespace MediaWiki\Tests\Api\Query; + +use MediaWiki\Tests\Api\ApiTestCase; use MediaWiki\User\User; use PHPUnit\Framework\ExpectationFailedException; use SebastianBergmann\Comparator\ComparisonFailure; -/** This class has some common functionality for testing query module +/** + * This class has some common functionality for testing query module */ abstract class ApiQueryTestBase extends ApiTestCase { @@ -152,3 +157,5 @@ STR; return array_merge( $result ); } } + +class_alias( ApiQueryTestBase::class, 'ApiQueryTestBase' ); |