diff options
Diffstat (limited to 'modules/blogapi/blogapi.test')
-rw-r--r-- | modules/blogapi/blogapi.test | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/blogapi/blogapi.test b/modules/blogapi/blogapi.test index b1ac8b1b0..eb77f5061 100644 --- a/modules/blogapi/blogapi.test +++ b/modules/blogapi/blogapi.test @@ -24,6 +24,7 @@ class BlogAPITestCase extends DrupalWebTestCase { * Create, edit, and delete post; upload file; set/get categories. */ function testBlogAPI() { + global $base_url; // Create admin user and taxononmy for later use. $admin_user = $this->drupalCreateUser(array('administer taxonomy')); $this->drupalLogin($admin_user); @@ -36,7 +37,7 @@ class BlogAPITestCase extends DrupalWebTestCase { $this->drupalLogin($web_user); // Init common variables. - $local = url('xmlrpc.php', array('absolute' => TRUE)); + $local = url($base_url . '/xmlrpc.php', array('external' => TRUE)); $appid = 'simpletest'; // Get user's blog. |