- Patch #505812 by Josh Waihi: remove database specific test.

merge-requests/26/head
Dries Buytaert 2009-07-06 13:33:31 +00:00
parent 576a4cffed
commit a05ec18996
1 changed files with 0 additions and 3 deletions

View File

@ -2485,9 +2485,6 @@ class DatabaseInvalidDataTestCase extends DatabaseTestCase {
$this->pass(t('The whole transaction is rolled back when a duplicate key insert occurs.')); $this->pass(t('The whole transaction is rolled back when a duplicate key insert occurs.'));
} }
// 23000 means "Integrity constraint violation" according to ANSI SQL.
$this->assertEqual($e->errorInfo[0], '23000', t('Exception has proper SQLSTATE.'));
// Ensure the other values were not inserted. // Ensure the other values were not inserted.
$record = db_select('test') $record = db_select('test')
->fields('test', array('name', 'age')) ->fields('test', array('name', 'age'))