Changeset 4582

Show
Ignore:
Timestamp:
06/28/08 06:43:52 (12 months ago)
Author:
jwage
Message:

fixes #1177

Location:
branches/0.11/tests
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/0.11/tests/Export/CheckConstraintTestCase.php

    r3884 r4582  
    4444        $sql = $e->exportClassesSql(array('CheckConstraintTest')); 
    4545    
    46         $this->assertEqual($sql[0], 'CREATE TABLE check_constraint_test (id INTEGER PRIMARY KEY AUTOINCREMENT, price DECIMAL(2,2), discounted_price DECIMAL(2,2)), CHECK (price >= 100), CHECK (price <= 5000), CHECK (price > discounted_price))'); 
     46        $this->assertEqual($sql[0], 'CREATE TABLE check_constraint_test (id INTEGER PRIMARY KEY AUTOINCREMENT, price DECIMAL(2,2), discounted_price DECIMAL(2,2), CHECK (price >= 100), CHECK (price <= 5000), CHECK (price > discounted_price))'); 
    4747     
    4848        try { 
  • branches/0.11/tests/run.php

    r4580 r4582  
    134134// Export Tests (not yet fully tested) 
    135135$export = new GroupTest('Export Tests', 'export'); 
     136$export->addTestCase(new Doctrine_Export_CheckConstraint_TestCase()); 
    136137$export->addTestCase(new Doctrine_Export_Firebird_TestCase()); 
    137138$export->addTestCase(new Doctrine_Export_Informix_TestCase());