Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8ff2838

Browse filesBrowse files
committed
[Form] Fix component 'standalone' testsuite
1 parent 0b8b76b commit 8ff2838
Copy full SHA for 8ff2838

File tree

Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed

‎src/Symfony/Component/Form/Tests/FormBuilderTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Tests/FormBuilderTest.php
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ class FormBuilderTest extends \PHPUnit_Framework_TestCase
2323

2424
protected function setUp()
2525
{
26+
if (!class_exists('Symfony\Component\EventDispatcher\EventDispatcher')) {
27+
$this->markTestSkipped('The "EventDispatcher" component is not available');
28+
}
29+
2630
$this->dispatcher = $this->getMock('Symfony\Component\EventDispatcher\EventDispatcherInterface');
2731
$this->factory = $this->getMock('Symfony\Component\Form\FormFactoryInterface');
2832
$this->builder = new FormBuilder('name', null, $this->dispatcher, $this->factory);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.