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