Browse Source

"ManagerTestBase::testExecuteBizRule()" has been fixed to not produce side effects on other tests.

tags/2.0.0-beta
Klimov Paul 12 years ago
parent
commit
d4b896f65c
  1. 2
      tests/unit/framework/rbac/ManagerTestBase.php

2
tests/unit/framework/rbac/ManagerTestBase.php

@ -167,7 +167,7 @@ abstract class ManagerTestBase extends TestCase
$this->assertTrue($this->auth->executeBizRule(null, array(), null));
$this->assertTrue($this->auth->executeBizRule('return 1 == true;', array(), null));
$this->assertTrue($this->auth->executeBizRule('return $params[0] == $params[1];', array(1, '1'), null));
$this->assertFalse($this->auth->executeBizRule('invalid', array(), null));
$this->assertFalse($this->auth->executeBizRule('invalid;', array(), null));
}
public function testCheckAccess()

Loading…
Cancel
Save