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

        $this->form = $this->factory->create('repeated', null, array(
            'type' => 'field',
        ));
        $this->form->setData(null);
    }
예제 #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');
     }
 }
예제 #4
0
 protected function tearDown()
 {
     parent::tearDown();
     $this->provider = null;
 }
예제 #5
0
    protected function setUp()
    {
        parent::setUp();

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