Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
wimvds committed Apr 4, 2014
1 parent 855a525 commit ce72c73
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Tests/AdminList/FormPageAdminListConfiguratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ protected function setUp()
{
$em = $this->getMockedEntityManager();
$securityContext = $this->getMock('Symfony\Component\Security\Core\SecurityContextInterface');
$aclHelper = $this->getMock('Kunstmaan\AdminBundle\Helper\Security\Acl\AclHelper', array(), array($em, $securityContext));
$roleHierarchy = $this->getMockBuilder('Symfony\Component\Security\Core\Role\RoleHierarchyInterface')
->getMock();
$aclHelper = $this->getMock('Kunstmaan\AdminBundle\Helper\Security\Acl\AclHelper', array(), array($em, $securityContext, $roleHierarchy));

$this->object = new FormPageAdminListConfigurator($em, $aclHelper, self::PERMISSION_VIEW);
}

Expand Down

0 comments on commit ce72c73

Please sign in to comment.