Skip to content

Commit 52eeddc

Browse files
Fix getMock usage
1 parent 49fb0c0 commit 52eeddc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Validator/Tests/Mapping/Factory/LazyLoadingMetadataFactoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public function testReadMetadataFromCache()
150150

151151
public function testMetadataCacheWithRuntimeConstraint()
152152
{
153-
$cache = $this->getMock('Symfony\Component\Validator\Mapping\Cache\CacheInterface');
153+
$cache = $this->getMockBuilder('Symfony\Component\Validator\Mapping\Cache\CacheInterface')->getMock();
154154
$factory = new LazyLoadingMetadataFactory(new TestLoader(), $cache);
155155

156156
$cache

0 commit comments

Comments
 (0)