예제 #1
0
    function test_AkActiveRecord_validators()
    {
        parent::UnitTestCase();
        $this->_createNewTestingModelDatabase('AkTestPerson');
        $this->_createNewTestingModel('AkTestPerson');

        $this->installAndIncludeModels(array('Picture', 'Landlord'));
    }
예제 #2
0
 function test_AkActiveRecord_actsAsNestedSet()
 {
     parent::UnitTestCase();
     $this->_createNewTestingModelDatabase('AkTestNestedCategory');
     $this->_createNewTestingModel('AkTestNestedCategory');
 }
예제 #3
0
 function test_AkActiveRecord_actsAsList()
 {
     parent::UnitTestCase();
     $this->_createNewTestingModelDatabase('AkTestTodoItem');
     $this->_createNewTestingModel('AkTestTodoItem');
 }