File tree Expand file tree Collapse file tree 3 files changed +14
-0
lines changed 
src/Symfony/Component/Translation/Tests Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,10 @@ class IcuResFileDumperTest extends \PHPUnit_Framework_TestCase
1818{
1919 public  function  testDump ()
2020 {
21+  if  (!extension_loaded ('mbstring ' )) {
22+  $ this markTestSkipped ('This test requires mbstring to work. ' );
23+  }
24+ 
2125 $ cataloguenew  MessageCatalogue ('en ' );
2226 $ catalogueadd (array ('foo '  => 'bar ' ));
2327
Original file line number Diff line number Diff line change @@ -20,6 +20,11 @@ protected function setUp() {
2020 if  (!class_exists ('Symfony\Component\Config\Loader\Loader ' )) {
2121 $ this markTestSkipped ('The "Config" component is not available ' );
2222 }
23+ 
24+  if  (!extension_loaded ('intl ' )) {
25+  $ this markTestSkipped ('This test requires intl extension to work. ' );
26+  }
27+ 
2328 }
2429
2530 public  function  testDatEnglishLoad ()
Original file line number Diff line number Diff line change @@ -20,6 +20,11 @@ protected function setUp() {
2020 if  (!class_exists ('Symfony\Component\Config\Loader\Loader ' )) {
2121 $ this markTestSkipped ('The "Config" component is not available ' );
2222 }
23+ 
24+  if  (!extension_loaded ('intl ' )) {
25+  $ this markTestSkipped ('This test requires intl extension to work. ' );
26+  }
27+ 
2328 }
2429
2530 public  function  testLoad ()
                         You can’t perform that action at this time. 
           
                  
0 commit comments