X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Ftests%2FDrupal%2FTests%2FComponent%2FGettext%2FPoHeaderTest.php;fp=web%2Fcore%2Ftests%2FDrupal%2FTests%2FComponent%2FGettext%2FPoHeaderTest.php;h=caae2d827938665634de88ef90cbdd141edf326d;hp=113f6cdea8262ebec6a685ce5b71ea07df4edfc6;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/web/core/tests/Drupal/Tests/Component/Gettext/PoHeaderTest.php b/web/core/tests/Drupal/Tests/Component/Gettext/PoHeaderTest.php index 113f6cdea..caae2d827 100644 --- a/web/core/tests/Drupal/Tests/Component/Gettext/PoHeaderTest.php +++ b/web/core/tests/Drupal/Tests/Component/Gettext/PoHeaderTest.php @@ -3,7 +3,7 @@ namespace Drupal\Tests\Component\Gettext; use Drupal\Component\Gettext\PoHeader; -use Drupal\Tests\UnitTestCase; +use PHPUnit\Framework\TestCase; /** * Unit tests for the Gettext PO file header handling features. @@ -12,7 +12,7 @@ use Drupal\Tests\UnitTestCase; * * @group Gettext */ -class PoHeaderTest extends UnitTestCase { +class PoHeaderTest extends TestCase { /** * Tests that plural expressions are evaluated correctly. @@ -279,7 +279,8 @@ class PoHeaderTest extends UnitTestCase { 193 => 1, 194 => 1, 'default' => 2, - ], ], + ], + ], [ 'nplurals=4; plural=(((n==1)||(n==11))?(0):(((n==2)||(n==12))?(1):(((n>2)&&(n<20))?(2):3)));', [