From d4b896f65c639eaf7208162d359a0c45ab96a74e Mon Sep 17 00:00:00 2001 From: Klimov Paul Date: Sat, 18 May 2013 17:28:28 +0300 Subject: [PATCH] "ManagerTestBase::testExecuteBizRule()" has been fixed to not produce side effects on other tests. --- tests/unit/framework/rbac/ManagerTestBase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/framework/rbac/ManagerTestBase.php b/tests/unit/framework/rbac/ManagerTestBase.php index 8efa3cf..1ab7d52 100644 --- a/tests/unit/framework/rbac/ManagerTestBase.php +++ b/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()