1
0
mirror of synced 2025-01-18 06:21:40 +03:00
This commit is contained in:
zYne 2007-07-25 20:07:55 +00:00
parent ab38654ea2
commit fbe1662721

View File

@ -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:');