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()
159
159
$ this ->assertSame ($ resolvedType , $ this ->registry ->getType (get_class ($ type )));
160
160
}
161
161
162
+ /**
163
+ * @group legacy
164
+ */
162
165
public function testLegacyGetTypeWithTypeExtensions ()
163
166
{
164
167
$ type = new LegacyFooType ();
@@ -201,6 +204,9 @@ public function testGetTypeConnectsParent()
201
204
$ this ->assertSame ($ resolvedType , $ this ->registry ->getType (get_class ($ type )));
202
205
}
203
206
207
+ /**
208
+ * @group legacy
209
+ */
204
210
public function testLegacyGetTypeConnectsParent ()
205
211
{
206
212
$ parentType = new LegacyFooType ();
@@ -286,6 +292,9 @@ public function testDoesNotHaveTypeIfNoFormType()
286
292
$ this ->assertFalse ($ this ->registry ->hasType ('stdClass ' ));
287
293
}
288
294
295
+ /**
296
+ * @group legacy
297
+ */
289
298
public function testLegacyHasTypeAfterLoadingFromExtension ()
290
299
{
291
300
$ type = new LegacyFooType ();
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ public function testReadMetadataFromCache()
150
150
151
151
public function testMetadataCacheWithRuntimeConstraint ()
152
152
{
153
- $ cache = $ this ->getMock ('Symfony\Component\Validator\Mapping\Cache\CacheInterface ' );
153
+ $ cache = $ this ->getMockBuilder ('Symfony\Component\Validator\Mapping\Cache\CacheInterface ' )-> getMock ( );
154
154
$ factory = new LazyLoadingMetadataFactory (new TestLoader (), $ cache );
155
155
156
156
$ cache
You can’t perform that action at this time.
0 commit comments