Skip to content

Commit

Permalink
Fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Oct 27, 2015
1 parent 765e06c commit aa2673b
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions src/Symfony/Component/Form/Tests/FormRegistryTest.php
Expand Up @@ -245,30 +245,6 @@ public function testGetTypeConnectsParentIfGetParentReturnsInstance()
$this->assertSame($resolvedType, $this->registry->getType('foo_sub_type_parent_instance'));
}

/**
* @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException
*/
public function testGetTypeThrowsExceptionIfParentNotFound()
{
$type = new FooSubType();

$this->extension1->addType($type);

$this->registry->getType($type);
}

/**
* @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException
*/
public function testLegacyGetTypeThrowsExceptionIfParentNotFound()
{
$type = new LegacyFooSubType();

$this->extension1->addType($type);

$this->registry->getType($type);
}

/**
* @expectedException \Symfony\Component\Form\Exception\InvalidArgumentException
*/
Expand Down

0 comments on commit aa2673b

Please sign in to comment.