mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-02 21:41:19 +08:00
"ManagerTestBase::testExecuteBizRule()" has been fixed to not produce side effects on other tests.
This commit is contained in:
@ -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()
|
||||
|
||||
Reference in New Issue
Block a user