File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed
src/Symfony/Component/Form/Tests Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -245,30 +245,6 @@ public function testGetTypeConnectsParentIfGetParentReturnsInstance()
245
245
$ this ->assertSame ($ resolvedType , $ this ->registry ->getType ('foo_sub_type_parent_instance ' ));
246
246
}
247
247
248
- /**
249
- * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException
250
- */
251
- public function testGetTypeThrowsExceptionIfParentNotFound ()
252
- {
253
- $ type = new FooSubType ();
254
-
255
- $ this ->extension1 ->addType ($ type );
256
-
257
- $ this ->registry ->getType ($ type );
258
- }
259
-
260
- /**
261
- * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException
262
- */
263
- public function testLegacyGetTypeThrowsExceptionIfParentNotFound ()
264
- {
265
- $ type = new LegacyFooSubType ();
266
-
267
- $ this ->extension1 ->addType ($ type );
268
-
269
- $ this ->registry ->getType ($ type );
270
- }
271
-
272
248
/**
273
249
* @expectedException \Symfony\Component\Form\Exception\InvalidArgumentException
274
250
*/
You can’t perform that action at this time.
0 commit comments