--TEST-- Auth_PrefManager::setPref(): Database Error. Classic Reporting. --FILE-- array( 'foo' => 'bar', ), 'jbloggs' => array( 'foo' => 'baz', ), ) ); $pref = new Auth_PrefManager($GLOBALS['dsn'], array( 'table' => $GLOBALS['tableName'], 'userColumn' => 'notexist', )); $result = $pref->setPref('jbloggs', 'foo', 'spoon'); if ($result === false) { print "ok\n" .$pref->_lastError; } else { print "failure\n"; print_r($value); } ?> --EXPECT-- ok DB Error: no such field