diff options
Diffstat (limited to 'modules/system/system.test')
-rw-r--r-- | modules/system/system.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.test b/modules/system/system.test index 511c9c28e..85ac61609 100644 --- a/modules/system/system.test +++ b/modules/system/system.test @@ -1578,7 +1578,7 @@ class TokenReplaceTestCase extends DrupalWebTestCase { $tests['[site:slogan]'] = check_plain(variable_get('site_slogan', '')); $tests['[site:mail]'] = 'simpletest@example.com'; $tests['[site:url]'] = url('<front>', $url_options); - $tests['[site:url-brief]'] = preg_replace('!^https?://!', '', url('<front>', $url_options)); + $tests['[site:url-brief]'] = preg_replace(array('!^https?://!', '!/$!'), '', url('<front>', $url_options)); $tests['[site:login-url]'] = url('user', $url_options); // Test to make sure that we generated something for each token. |