protected function setUp()
 {
     parent::setUp();
     if (!extension_loaded('intl')) {
         $this->markTestSkipped('The "intl" extension is not available');
     }
 }
Example #2
0
    protected function setUp()
    {
        parent::setUp();

        $this->form = $this->factory->create('repeated', null, array(
            'type' => 'field',
        ));
        $this->form->setData(null);
    }
Example #3
0
 protected function setUp()
 {
     parent::setUp();
     if (!class_exists('Symfony\\Component\\Locale\\Locale')) {
         $this->markTestSkipped('The "Locale" component is not available');
     }
     if (!extension_loaded('intl')) {
         $this->markTestSkipped('The "intl" extension is not available');
     }
 }
Example #4
0
 protected function tearDown()
 {
     parent::tearDown();
     $this->provider = null;
 }
Example #5
0
    protected function setUp()
    {
        parent::setUp();

        $this->provider = $this->getMock('Symfony\Component\Form\Extension\Csrf\CsrfProvider\CsrfProviderInterface');
    }