1
0
mirror of synced 2024-12-15 07:36:03 +03:00
doctrine2/models/SearchTest.php
2007-07-20 19:23:20 +00:00

17 lines
417 B
PHP

<?php
class SearchTest extends Doctrine_Record
{
public function setTableDefinition()
{
$this->hasColumn('title', 'string', 100);
$this->hasColumn('content', 'string');
}
public function setUp()
{
$options = array('generateFiles' => false,
'fields' => array('title', 'content'));
$this->actAs('Searchable', $options);
}
}