diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/blogapi/blogapi.test | 3 | ||||
-rw-r--r-- | modules/simpletest/tests/xmlrpc.test | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/modules/blogapi/blogapi.test b/modules/blogapi/blogapi.test index 525e5365e..57404d283 100644 --- a/modules/blogapi/blogapi.test +++ b/modules/blogapi/blogapi.test @@ -12,6 +12,9 @@ class BlogAPITestCase extends DrupalWebTestCase { function setUp() { parent::setUp('blog', 'blogapi', 'taxonomy'); + + // Force loading the xmlrpc.inc to have the xmlrpc() function. + drupal_function_exists('xmlrpc'); } /** diff --git a/modules/simpletest/tests/xmlrpc.test b/modules/simpletest/tests/xmlrpc.test index ce6a053d2..fb94911ad 100644 --- a/modules/simpletest/tests/xmlrpc.test +++ b/modules/simpletest/tests/xmlrpc.test @@ -12,6 +12,9 @@ class XMLRPCValidator1IncTestCase extends DrupalWebTestCase { function setUp() { parent::setUp('xmlrpc_test'); + + // Force loading the xmlrpc.inc to have the xmlrpc() function. + drupal_function_exists('xmlrpc'); } /** @@ -132,6 +135,9 @@ class XMLRPCMessagesTestCase extends DrupalWebTestCase { function setUp() { parent::setUp('xmlrpc_test'); + + // Force loading the xmlrpc.inc to have the xmlrpc() function. + drupal_function_exists('xmlrpc'); } /** |