Skip to content

Commit

Permalink
Fix options resolver test
Browse files Browse the repository at this point in the history
  • Loading branch information
soullivaneuh committed May 1, 2016
1 parent 652b02a commit 1243ca7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tests/Block/FakeBlockService.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
namespace Sonata\AdminBundle\Tests\Block;

use Sonata\AdminBundle\Block\AdminListBlockService;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
use Sonata\BlockBundle\Util\OptionsResolver;

/**
* @author Sullivan Senechal <[email protected]>
*/
class FakeBlockService extends AdminListBlockService
{
public function setDefaultSettings(OptionsResolverInterface $resolver)
public function configureSettings(OptionsResolver $resolver)
{
parent::setDefaultSettings($resolver);
parent::configureSettings($resolver);

$resolver
->setDefaults(array(
Expand Down

0 comments on commit 1243ca7

Please sign in to comment.