SearchTest.php 417 Bytes
Newer Older
zYne's avatar
zYne committed
1 2 3 4 5 6 7 8 9 10 11 12 13
<?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'));

zYne's avatar
zYne committed
14
        $this->actAs('Searchable', $options);
zYne's avatar
zYne committed
15 16
    }
}