From ef33d44f66202a8d558fbefcb9346ed5752f92c4 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 21 Sep 2009 07:56:09 +0000 Subject: - Patch #556018 by Damien Tournoud, dereine | sun: rename drupal_to_js() and drupal_json() for consistency and readability. --- modules/field/field.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/field/field.test') diff --git a/modules/field/field.test b/modules/field/field.test index 34a561392..9d770076f 100644 --- a/modules/field/field.test +++ b/modules/field/field.test @@ -1405,7 +1405,7 @@ class FieldFormTestCase extends FieldTestCase { $this->drupalPost(NULL, $edit, $submit); unset($this->additionalCurlOptions[CURLOPT_URL]); - // The response is drupal_json, so we need to undo some escaping. + // The response is drupal_json_output, so we need to undo some escaping. $commands = json_decode(str_replace(array('\x3c', '\x3e', '\x26'), array("<", ">", "&"), $this->drupalGetContent())); // The JSON response will be two AJAX commands. The first is a settings -- cgit v1.2.3