minor #22122 Fix tests (chalasr)
This PR was merged into the 3.3-dev branch.
Discussion
----------
Fix tests
| Q | A
| ------------- | ---
| Branch? | master
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | n/a
| License | MIT
| Doc PR | n/a
Commits
-------
ea84aa1
Fix tests
This commit is contained in:
commit
3de0d9b33f
@ -1051,6 +1051,10 @@ class ApplicationTest extends TestCase
|
||||
$this->assertEquals(0, $tester->getStatusCode());
|
||||
}
|
||||
|
||||
/**
|
||||
* @group legacy
|
||||
* @expectedDeprecation The "console.exception" event is deprecated since version 3.3 and will be removed in 4.0. Use the "console.error" event instead.
|
||||
*/
|
||||
public function testLegacyExceptionListenersAreStillTriggered()
|
||||
{
|
||||
$dispatcher = $this->getDispatcher();
|
||||
|
@ -11,13 +11,14 @@
|
||||
|
||||
namespace Symfony\Component\Form\Tests;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Symfony\Component\EventDispatcher\EventDispatcher;
|
||||
use Symfony\Component\Form\FormBuilder;
|
||||
use Symfony\Component\Form\FormError;
|
||||
use Symfony\Component\Form\FormErrorIterator;
|
||||
use Symfony\Component\Validator\ConstraintViolation;
|
||||
|
||||
class FormErrorIteratorTest extends \PHPUnit_Framework_TestCase
|
||||
class FormErrorIteratorTest extends TestCase
|
||||
{
|
||||
/**
|
||||
* @dataProvider findByCodesProvider
|
||||
@ -32,7 +33,7 @@ class FormErrorIteratorTest extends \PHPUnit_Framework_TestCase
|
||||
'form',
|
||||
null,
|
||||
new EventDispatcher(),
|
||||
$this->getMock('Symfony\Component\Form\FormFactoryInterface'),
|
||||
$this->getMockBuilder('Symfony\Component\Form\FormFactoryInterface')->getMock(),
|
||||
array()
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user