From a05ec189961557ea9333c89a00ab4d220d25abc6 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 6 Jul 2009 13:33:31 +0000 Subject: [PATCH] - Patch #505812 by Josh Waihi: remove database specific test. --- modules/simpletest/tests/database_test.test | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/simpletest/tests/database_test.test b/modules/simpletest/tests/database_test.test index 1ecf9c53644..3d6a4ebce3a 100644 --- a/modules/simpletest/tests/database_test.test +++ b/modules/simpletest/tests/database_test.test @@ -2485,9 +2485,6 @@ class DatabaseInvalidDataTestCase extends DatabaseTestCase { $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. $record = db_select('test') ->fields('test', array('name', 'age'))