Browse Source

indentation fix

tags/2.0.0-beta
Panagiotis Moustafellos 11 years ago
parent
commit
e16fb9596b
  1. 12
      tests/unit/framework/rbac/ManagerTestCase.php

12
tests/unit/framework/rbac/ManagerTestCase.php

@ -119,11 +119,11 @@ abstract class ManagerTestCase extends TestCase
$this->assertFalse($this->auth->revoke('author B', 'author')); $this->assertFalse($this->auth->revoke('author B', 'author'));
} }
public function testRevokeAll() public function testRevokeAll()
{ {
$this->assertTrue($this->auth->revokeAll('reader E')); $this->assertTrue($this->auth->revokeAll('reader E'));
$this->assertFalse($this->auth->isAssigned('reader E', 'reader')); $this->assertFalse($this->auth->isAssigned('reader E', 'reader'));
} }
public function testGetAssignments() public function testGetAssignments()
{ {
@ -258,6 +258,6 @@ abstract class ManagerTestCase extends TestCase
$this->auth->assign('author B', 'author'); $this->auth->assign('author B', 'author');
$this->auth->assign('editor C', 'editor'); $this->auth->assign('editor C', 'editor');
$this->auth->assign('admin D', 'admin'); $this->auth->assign('admin D', 'admin');
$this->auth->assign('reader E', 'reader'); $this->auth->assign('reader E', 'reader');
} }
} }

Loading…
Cancel
Save