Commit a05ec189 authored by Dries's avatar Dries

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

parent 576a4cff
...@@ -2485,9 +2485,6 @@ class DatabaseInvalidDataTestCase extends DatabaseTestCase { ...@@ -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'))
......
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