diff options
author | Bartosz Dziewoński <dziewonski@fastmail.fm> | 2025-02-12 18:24:42 +0100 |
---|---|---|
committer | Bartosz Dziewoński <dziewonski@fastmail.fm> | 2025-03-24 12:56:05 +0100 |
commit | c40982eee6877cd744eca11ec249564a89e93894 (patch) | |
tree | d6bd62596faa8d622aed73f2f4d711b284daf716 /tests/phpunit/includes/exception/PermissionsErrorTest.php | |
parent | ae043402eea439f07c249bd8ea9ebd9df1dffeb3 (diff) | |
download | mediawikicore-c40982eee6877cd744eca11ec249564a89e93894.tar.gz mediawikicore-c40982eee6877cd744eca11ec249564a89e93894.zip |
PermissionStatus: Hard-deprecate toLegacyErrorArray()
No longer used except by other hard-deprecated methods.
Depends-On: I392088786faa4d52b7702dcf3b4e4549865b9650
Depends-On: I4760a342e7906000485142b63c739fb802bb40ed
Depends-On: I377e30f91ae41730b14731133c763fa100fb616f
Depends-On: Ic2302366e3d63413d110657ce999952b3fa7a1f6
Depends-On: I23ce3b4d26bbe58257b449993a54c45093007a3e
Change-Id: Ibf274036a1522001144c41ebff99f544860f6408
Diffstat (limited to 'tests/phpunit/includes/exception/PermissionsErrorTest.php')
-rw-r--r-- | tests/phpunit/includes/exception/PermissionsErrorTest.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/phpunit/includes/exception/PermissionsErrorTest.php b/tests/phpunit/includes/exception/PermissionsErrorTest.php index e94fe45e139d..621bbd7f5030 100644 --- a/tests/phpunit/includes/exception/PermissionsErrorTest.php +++ b/tests/phpunit/includes/exception/PermissionsErrorTest.php @@ -41,6 +41,7 @@ class PermissionsErrorTest extends MediaWikiIntegrationTestCase { $this->assertStatusMessagesExactly( $expected, $et->status ); $this->expectDeprecationAndContinue( '/Use of PermissionsError::\\$errors/' ); + $this->expectDeprecationAndContinue( '/toLegacyErrorArray/' ); $this->assertArrayEquals( $expected->toLegacyErrorArray(), $e->errors ); // Test the deprecated public property setter |