1
0
mirror of synced 2024-12-13 22:56:04 +03:00
doctrine2/models/SearchTest.php

17 lines
417 B
PHP
Raw Normal View History

2007-07-20 23:17:58 +04:00
<?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'));
2007-07-20 23:23:20 +04:00
$this->actAs('Searchable', $options);
2007-07-20 23:17:58 +04:00
}
}