File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Validator/Tests/Mapping/Factory Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -159,6 +159,9 @@ public function testGetTypeWithTypeExtensions()
159159 $ this ->assertSame ($ resolvedType , $ this ->registry ->getType (get_class ($ type )));
160160 }
161161
162+ /**
163+ * @group legacy
164+ */
162165 public function testLegacyGetTypeWithTypeExtensions ()
163166 {
164167 $ type = new LegacyFooType ();
@@ -201,6 +204,9 @@ public function testGetTypeConnectsParent()
201204 $ this ->assertSame ($ resolvedType , $ this ->registry ->getType (get_class ($ type )));
202205 }
203206
207+ /**
208+ * @group legacy
209+ */
204210 public function testLegacyGetTypeConnectsParent ()
205211 {
206212 $ parentType = new LegacyFooType ();
@@ -286,6 +292,9 @@ public function testDoesNotHaveTypeIfNoFormType()
286292 $ this ->assertFalse ($ this ->registry ->hasType ('stdClass ' ));
287293 }
288294
295+ /**
296+ * @group legacy
297+ */
289298 public function testLegacyHasTypeAfterLoadingFromExtension ()
290299 {
291300 $ type = new LegacyFooType ();
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments