8000 Fix merge · symfony/symfony@aa2673b · GitHub
[go: up one dir, main page]

Skip to content

Commit aa2673b

Browse files
Fix merge
1 parent 765e06c commit aa2673b

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

src/Symfony/Component/Form/Tests/FormRegistryTest.php

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -245,30 +245,6 @@ public function testGetTypeConnectsParentIfGetParentReturnsInstance()
245245
$this->assertSame($resolvedType, $this->registry->getType('foo_sub_type_parent_instance'));
246246
}
247247

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-
272248
/**
273249
* @expectedException \Symfony\Component\Form\Exception\InvalidArgumentException
274250
*/

0 commit comments

Comments
 (0)
0