Skip to content

Commit

Permalink
[SecurityBundle] fixed tests where cleanup was not done properly
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Jan 25, 2015
1 parent aed7878 commit f853cf2
Showing 1 changed file with 14 additions and 0 deletions.
Expand Up @@ -151,6 +151,20 @@ public function testSetAclClassScope()
$this->assertTrue($acl2->isGranted($permissionMap->getMasks($grantedPermission, null), array($roleSecurityIdentity)));
}

protected function setUp()
{
parent::setUp();

$this->deleteTmpDir('Acl');
}

protected function tearDown()
{
parent::tearDown();

$this->deleteTmpDir('Acl');
}

private function getApplication()
{
$kernel = $this->createKernel(array('test_case' => 'Acl'));
Expand Down

0 comments on commit f853cf2

Please sign in to comment.