aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/exception/MWExceptionTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit/includes/exception/MWExceptionTest.php')
-rw-r--r--tests/phpunit/includes/exception/MWExceptionTest.php20
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/phpunit/includes/exception/MWExceptionTest.php b/tests/phpunit/includes/exception/MWExceptionTest.php
index 5c3564479dd7..8e4bd94e8a5e 100644
--- a/tests/phpunit/includes/exception/MWExceptionTest.php
+++ b/tests/phpunit/includes/exception/MWExceptionTest.php
@@ -24,26 +24,6 @@ class MWExceptionTest extends MediaWikiIntegrationTestCase {
}
/**
- * Verify the exception classes are JSON serializabe.
- *
- * @dataProvider provideExceptionClasses
- */
- public function testJsonSerializeExceptions( $exception_class ) {
- $json = MWExceptionHandler::jsonSerializeException(
- new $exception_class()
- );
- $this->assertIsString( $json,
- "The $exception_class exception should be JSON serializable, got false." );
- }
-
- public static function provideExceptionClasses() {
- return [
- [ Exception::class ],
- [ MWException::class ],
- ];
- }
-
- /**
* @covers \MWException::report
*/
public function testReport() {