Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wbloszyk committed Jun 3, 2020
1 parent 072f97d commit 9889bcb
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions tests/Type/EqualTypeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,27 +23,6 @@

class EqualTypeTest extends TypeTestCase
{
/**
* @doesNotPerformAssertions
*/
public function testBuildForm()
{
$formBuilder = $this->createMock(FormBuilder::class);
$formBuilder
->expects($this->any())
->method('add')
->willReturnCallback(function ($name, $type = null) {
if (null !== $type) {
$this->assertTrue(class_exists($type), sprintf('Unable to ensure %s is a FQCN', $type));
}
});

$type = new EqualType($this->createMock(TranslatorInterface::class));
$type->buildForm($formBuilder, [
'choices' => [],
]);
}

/**
* @group legacy
*/
Expand Down

0 comments on commit 9889bcb

Please sign in to comment.