From a938e18a1bd36d887010863817470b690fdbf6f3 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 28 Jul 2009 19:18:08 +0000 Subject: - Patch #491556 by Berdir: completed converting core to DBTNG. Oh my. Kudos to Berdir for this humongous effort. --- modules/user/user.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/user/user.test') diff --git a/modules/user/user.test b/modules/user/user.test index a57983d18..fb9732f3a 100644 --- a/modules/user/user.test +++ b/modules/user/user.test @@ -1044,7 +1044,7 @@ class UserSaveTestCase extends DrupalWebTestCase { */ function testUserImport() { // User ID must be a number that is not in the database. - $max_uid = db_result(db_query('SELECT MAX(uid) FROM {users}')); + $max_uid = db_query('SELECT MAX(uid) FROM {users}')->fetchField(); $test_uid = $max_uid + mt_rand(1000, 1000000); $test_name = $this->randomName(); -- cgit v1.2.3