Index: drupal_test_case.php
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/simpletest/drupal_test_case.php,v
retrieving revision 1.28.2.5
diff -u -p -r1.28.2.5 drupal_test_case.php
--- drupal_test_case.php	21 Jan 2008 06:45:25 -0000	1.28.2.5
+++ drupal_test_case.php	28 Jan 2008 07:15:34 -0000
@@ -50,10 +50,13 @@ class DrupalTestCase extends WebTestCase
    * adds the authentication headers if necessary
    * @author Earnest Berry III <earnest.berry@gmail.com>
    *
-   * @param url string Url to retch
+   * @param $path     String Drupal path or url to load into internal browser.
+   * @param $query    A query string to append to the link or URL.
+   * @param $fragment A fragment identifier (named anchor) to append to the link. Note, do not include the '#'.
    * @return void
    */
-  function drupalGet($url) {
+  function drupalGet($path, $query = NULL, $fragment = NULL) {
+  	$url = url($path, $query, $fragment, TRUE);
     $html = $this->_browser->get($url);
     
     if( $this->drupalCheckAuth(true) ) {
@@ -99,8 +102,7 @@ class DrupalTestCase extends WebTestCase
    * @param boolean $reporting assertations or not
    */
   function drupalPostRequest($path, $edit = array(), $submit, $edit_multi = array()) {
-    $url = url($path, NULL, NULL, TRUE);
-    $ret = $this->drupalGet($url);
+    $ret = $this->drupalGet($path);
 
     $this->assertTrue($ret, " [browser] GET $url");
     foreach ($edit as $field_name => $field_value) {
@@ -327,7 +329,7 @@ class DrupalTestCase extends WebTestCase
    */
   function drupalLoginUser($user = NULL, $submit = 'Log in') {
 
-    $this->drupalGet( url("user", NULL, NULL, TRUE) );
+    $this->drupalGet("user");
     // Going to the page retrieves the cookie, as the browser should save it
 
     if ($user === NULL) {
Index: tests/image_module.test
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/simpletest/tests/image_module.test,v
retrieving revision 1.10.2.1
diff -u -p -r1.10.2.1 image_module.test
--- tests/image_module.test	17 Sep 2007 16:27:55 -0000	1.10.2.1
+++ tests/image_module.test	28 Jan 2008 07:15:34 -0000
@@ -93,7 +93,7 @@ class ImageModuleTest extends DrupalTest
     
     // get node nid
     $node = node_load(array('title' => $title));
-    $this->drupalGet(url("node/$node->nid", NULL, NULL, TRUE));
+    $this->drupalGet("node/$node->nid");
     $content = $this->_browser->getContent();
     $this->assertWantedText($title, "Checking title : $title");
     $this->assertWantedText($description, "Checking body: $description");
Index: tests/page_view.test
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/simpletest/tests/page_view.test,v
retrieving revision 1.8
diff -u -p -r1.8 page_view.test
--- tests/page_view.test	23 Jun 2007 10:23:44 -0000	1.8
+++ tests/page_view.test	28 Jan 2008 07:15:34 -0000
@@ -41,14 +41,14 @@ class PageViewTest extends DrupalTestCas
     $this->assertNotNull(node_load($node->nid), 'Node created');
 
     /* Tries to edit with anonymous user */
-    $html = $this->drupalGet(url("node/$node->nid/edit", NULL, NULL, TRUE));
+    $html = $this->drupalGet("node/$node->nid/edit");
     $this->assertResponse(403);
     
     /* Prepare a user to request the node view */
     $test_user = $this->drupalCreateUserRolePerm(array('access content'));
     $this->drupalLoginUser($test_user);
     
-    $html = $this->drupalGet(url("node/$node->nid/edit", NULL, NULL, TRUE));
+    $html = $this->drupalGet("node/$node->nid/edit");
     $this->assertResponse(403);
     
     $test_user = $this->drupalCreateUserRolePerm(array('administer nodes'));
Index: tests/taxonomy.module.test
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/simpletest/tests/taxonomy.module.test,v
retrieving revision 1.7.2.1
diff -u -p -r1.7.2.1 taxonomy.module.test
--- tests/taxonomy.module.test	17 Sep 2007 16:27:55 -0000	1.7.2.1
+++ tests/taxonomy.module.test	28 Jan 2008 07:15:35 -0000
@@ -284,7 +284,7 @@ class TaxonomyTestNodeApi extends Drupal
     
     // why is this printing out the user profile page?
     // go to node/add/story
-    $this->drupalGet(url('node/add/story', NULL, NULL, TRUE));
+    $this->drupalGet('node/add/story');
     $req = $this->_browser->getRequest();
 
     $headers = $this->_browser->getHeaders();
