AuthRulesTest::testCanEditEvent_EventLockingDisabled PHP Method

testCanEditEvent_EventLockingDisabled() public method

    public function testCanEditEvent_EventLockingDisabled()
    {
        Yii::app()->params['event_lock_disable'] = true;
        $event = $this->getEvent(array('created_date' => '1999-12-31 23:59:59'));
        $this->assertTrue($this->rules->canEditEvent($this->getNormalFirm(), $event));
    }
AuthRulesTest