From fbe16627218531aeeb016d5f93245c49a90ce0a5 Mon Sep 17 00:00:00 2001 From: zYne Date: Wed, 25 Jul 2007 20:07:55 +0000 Subject: [PATCH] --- tests/Export/CheckConstraintTestCase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Export/CheckConstraintTestCase.php b/tests/Export/CheckConstraintTestCase.php index 8c40ec7b1..96ae9b321 100644 --- a/tests/Export/CheckConstraintTestCase.php +++ b/tests/Export/CheckConstraintTestCase.php @@ -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:');