commit b0a134ec00128944d6d119211f4cc35dce71c002 Author: Joel Pittet Date: Wed Feb 19 01:54:45 2014 -0800 not testing path system, other tests for that... diff --git a/core/modules/system/lib/Drupal/system/Tests/Common/RenderElementTypesTest.php b/core/modules/system/lib/Drupal/system/Tests/Common/RenderElementTypesTest.php index 78fdd9e..f544829 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Common/RenderElementTypesTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/Common/RenderElementTypesTest.php @@ -264,32 +264,32 @@ function testMoreLink() { 'name' => "#type 'more_link' anchor tag generation without extra classes", 'value' => array( '#type' => 'more_link', - '#href' => 'admin/content', + '#href' => 'http://drupal.org', ), - 'expected' => '//a[@href="/admin/content" and @class="more-link" and text()="More"]', + 'expected' => '//a[@href="http://drupal.org" and @class="more-link" and text()="More"]', ), // Test more_link anchor tag generation with title change. array( 'name' => "#type 'more_link' anchor tag generation with different link text", 'value' => array( '#type' => 'more_link', - '#href' => '', + '#href' => 'http://drupal.org', '#title' => 'More Titles', ), - 'expected' => '//a[@href="/" and @class="more-link" and text()="More Titles"]', + 'expected' => '//a[@href="http://drupal.org" and @class="more-link" and text()="More Titles"]', ), // Test more_link anchor tag generation without class attributes to test additional classes. array( 'name' => "#type 'more_link' anchor tag generation with extra classes", 'value' => array( '#type' => 'more_link', - '#href' => 'admin/content', + '#href' => 'http://drupal.org', '#attributes' => array( 'title' => 'description', 'class' => array('drupal', 'test'), ), ), - 'expected' => '//a[@href="/admin/content" and @title="description" and contains(@class, "more-link") and contains(@class, "drupal") and contains(@class, "test") and text()="More"]', + 'expected' => '//a[@href="http://drupal.org" and @title="description" and contains(@class, "more-link") and contains(@class, "drupal") and contains(@class, "test") and text()="More"]', ), );