Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterj committed Apr 9, 2016
1 parent b00dccb commit 5951117
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Tests/Datagrid/DatagridMapperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public function testGet()
$this->assertInstanceOf('Sonata\AdminBundle\Filter\FilterInterface', $filter);
$this->assertSame('foo.name', $filter->getName());
$this->assertSame('foo__name', $filter->getFormName());
$this->assertSame('text', $filter->getFieldType());
$this->assertSame('Symfony\Component\Form\Extension\Core\Type\TextType', $filter->getFieldType());
$this->assertSame('fooLabel', $filter->getLabel());
$this->assertSame(array('required' => false), $filter->getFieldOptions());
$this->assertSame(array(
Expand Down
2 changes: 1 addition & 1 deletion Tests/Filter/FilterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function testFilter()
{
$filter = new FooFilter();

$this->assertSame('text', $filter->getFieldType());
$this->assertSame('Symfony\Component\Form\Extension\Core\Type\TextType', $filter->getFieldType());
$this->assertSame(array('required' => false), $filter->getFieldOptions());
$this->assertNull($filter->getLabel());

Expand Down

0 comments on commit 5951117

Please sign in to comment.