X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fsession%2FMetadataMergeExceptionTest.php;h=8cb4302a4e80e8c5b39b40b4b0a1650af2dc1513;hp=0981f026a1a2506f5784f9e25cfb6331bab8fb5f;hb=15c27d356b5e6760024ac0653279a76d94d78b1f;hpb=57eaa2bf04ce1b48bd89c10defe4de5b7d31f047 diff --git a/tests/phpunit/includes/session/MetadataMergeExceptionTest.php b/tests/phpunit/includes/session/MetadataMergeExceptionTest.php index 0981f026a1..8cb4302a4e 100644 --- a/tests/phpunit/includes/session/MetadataMergeExceptionTest.php +++ b/tests/phpunit/includes/session/MetadataMergeExceptionTest.php @@ -14,7 +14,7 @@ class MetadataMergeExceptionTest extends MediaWikiTestCase { $data = [ 'foo' => 'bar' ]; $ex = new MetadataMergeException(); - $this->assertInstanceOf( 'UnexpectedValueException', $ex ); + $this->assertInstanceOf( \UnexpectedValueException::class, $ex ); $this->assertSame( [], $ex->getContext() ); $ex2 = new MetadataMergeException( 'Message', 42, $ex, $data );