Avoid phpunit 5.4 warnings on getMock
This commit is contained in:
parent
0854c121c9
commit
b05014c2e9
|
@ -30,7 +30,7 @@ abstract class TypeTestCase extends FormIntegrationTestCase
|
|||
{
|
||||
parent::setUp();
|
||||
|
||||
$this->dispatcher = $this->getMock('Symfony\Component\EventDispatcher\EventDispatcherInterface');
|
||||
$this->dispatcher = $this->getMockBuilder('Symfony\Component\EventDispatcher\EventDispatcherInterface')->getMock();
|
||||
$this->builder = new FormBuilder(null, null, $this->dispatcher, $this->factory);
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue