File tree 1 file changed +3
-3
lines changed
src/Symfony/Component/Validator/Test
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -93,9 +93,9 @@ protected function restoreDefaultTimezone()
93
93
94
94
protected function createContext ()
95
95
{
96
- $ translator = $ this ->getMock ('Symfony\Component\Translation\TranslatorInterface ' );
97
- $ validator = $ this ->getMock ('Symfony\Component\Validator\Validator\ValidatorInterface ' );
98
- $ contextualValidator = $ this ->getMock ('Symfony\Component\Validator\Validator\ContextualValidatorInterface ' );
96
+ $ translator = $ this ->getMockBuilder ('Symfony\Component\Translation\TranslatorInterface ' )-> getMock ( );
97
+ $ validator = $ this ->getMockBuilder ('Symfony\Component\Validator\Validator\ValidatorInterface ' )-> getMock ( );
98
+ $ contextualValidator = $ this ->getMockBuilder ('Symfony\Component\Validator\Validator\ContextualValidatorInterface ' )-> getMock ( );
99
99
100
100
$ context = new ExecutionContext ($ validator , $ this ->root , $ translator );
101
101
$ context ->setGroup ($ this ->group );
You can’t perform that action at this time.
0 commit comments