diff options
author | shaver@mozilla.com <shaver@mozilla.com@4eb1ac78-321c-0410-a911-ec516a8615a5> | 2007-02-11 19:10:12 (GMT) |
---|---|---|
committer | shaver@mozilla.com <shaver@mozilla.com@4eb1ac78-321c-0410-a911-ec516a8615a5> | 2007-02-11 19:10:12 (GMT) |
commit | faed80da0df9b72846eaa3c8b6ceab8e8a530896 (patch) | |
tree | 229cb31e1ba84f8442e38d2dc688c582ab81446e /site/app/tests/languageConfig.test.php | |
parent | 61ea60309695077b92cc3a3040aebed736d30d8c (diff) |
Use prettier URLs to test.
git-svn-id: http://svn.mozilla.org/addons/trunk@1938 4eb1ac78-321c-0410-a911-ec516a8615a5
Diffstat (limited to 'site/app/tests/languageConfig.test.php')
-rw-r--r-- | site/app/tests/languageConfig.test.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/site/app/tests/languageConfig.test.php b/site/app/tests/languageConfig.test.php index ce1bd10..b23bcb1 100644 --- a/site/app/tests/languageConfig.test.php +++ b/site/app/tests/languageConfig.test.php @@ -207,7 +207,7 @@ class LanguageConfigTest extends WebTestHelper { // If we pass an unknown language, there should be a redirect to a detected lang $this->setMaximumRedirects(1); - $this->getPath($this->actionPath("")."/addons/browse?lang=carebears"); + $this->getPath($this->actionPath("")."/browse?lang=carebears"); $this->assertResponse('200','Redirect to detected language for bogus language'); // Naughty XSS -- naughty! @@ -253,7 +253,7 @@ class LanguageConfigTest extends WebTestHelper { */ function testMalformedALIgnored() { $this->addHeader('Accept-Language: some,thing-very;very,,malform,ed!'); - $this->getPath($this->actionPath('/addons/browse')); + $this->getPath($this->actionPath('/browse')); $pattern = '#All rights reserved#'; $this->assertPattern($pattern, 'Malformed Accept-language leads to fallback'); } |