Commit fbe16627 authored by zYne's avatar zYne

--no commit message

--no commit message
parent ab38654e
......@@ -43,7 +43,7 @@ class Doctrine_Export_CheckConstraint_TestCase extends Doctrine_UnitTestCase
$sql = $e->exportClassesSql(array('CheckConstraintTest'));
$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))');
$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))');
try {
$dbh = new PDO('sqlite::memory:');
......
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