VersioningTest.php 278 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
<?php
class VersioningTest extends Doctrine_Record 
{
    public function setTableDefinition()
    {
        $this->hasColumn('name', 'string');
        $this->hasColumn('version', 'integer');
    }
    public function setUp()
    {
        $this->actAs('Versionable');
    }
}