Пример #1
0
 public function testAddViewField()
 {
     $this->schema->addViewField('author_user_view', 'description', array('type' => 'string', 'length' => '2000'));
     $fields = $this->schema->getViewFields('author_user_view');
     $this->assertArrayHasKey('description', $fields);
 }