We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49fb0c0 commit 52eeddcCopy full SHA for 52eeddc
src/Symfony/Component/Validator/Tests/Mapping/Factory/LazyLoadingMetadataFactoryTest.php
@@ -150,7 +150,7 @@ public function testReadMetadataFromCache()
150
151
public function testMetadataCacheWithRuntimeConstraint()
152
{
153
- $cache = $this->getMock('Symfony\Component\Validator\Mapping\Cache\CacheInterface');
+ $cache = $this->getMockBuilder('Symfony\Component\Validator\Mapping\Cache\CacheInterface')->getMock();
154
$factory = new LazyLoadingMetadataFactory(new TestLoader(), $cache);
155
156
$cache
0 commit comments