Commit e9803599 authored by lsmith's avatar lsmith

- ws fixes

parent cb1a71f1
...@@ -38,13 +38,11 @@ class stComment extends Doctrine_Record ...@@ -38,13 +38,11 @@ class stComment extends Doctrine_Record
$this->setTableName('st_comment'); $this->setTableName('st_comment');
$this->hasColumn('title', 'string', 100, array()); $this->hasColumn('title', 'string', 100, array());
$this->hasColumn('body', 'string', 1000, array()); $this->hasColumn('body', 'string', 1000, array());
} }
} }
class Doctrine_Ticket_480_TestCase extends Doctrine_UnitTestCase class Doctrine_Ticket_480_TestCase extends Doctrine_UnitTestCase
{ {
public function testInit() public function testInit()
{ {
$this->dbh = new Doctrine_Adapter_Mock('oracle'); $this->dbh = new Doctrine_Adapter_Mock('oracle');
...@@ -60,6 +58,5 @@ class Doctrine_Ticket_480_TestCase extends Doctrine_UnitTestCase ...@@ -60,6 +58,5 @@ class Doctrine_Ticket_480_TestCase extends Doctrine_UnitTestCase
// Trigger can be created after both CREATE TABLE and CREATE SEQUENCE // Trigger can be created after both CREATE TABLE and CREATE SEQUENCE
$this->assertFalse(preg_match('~^CREATE TRIGGER.*~', $queries[1])); $this->assertFalse(preg_match('~^CREATE TRIGGER.*~', $queries[1]));
$this->assertFalse(preg_match('~^CREATE TRIGGER.*~', $queries[2])); $this->assertFalse(preg_match('~^CREATE TRIGGER.*~', $queries[2]));
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment