summaryrefslogtreecommitdiff
path: root/tests/unit/Web/THttpRequestTest.php
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2015-12-07 15:57:51 +0100
committerFabio Bas <ctrlaltca@gmail.com>2015-12-07 15:57:51 +0100
commit654a9cae43358c7eecf3b522e9876aa7815e2453 (patch)
tree545f2e42fdc6e824b247924adf083ad3fe51e61d /tests/unit/Web/THttpRequestTest.php
parente99e35819d53dc48ae4e9a8491528a6b6011469f (diff)
Move urls from pradosoft.com to github's project page; drop unmaintained quickstart tutorial translations
Diffstat (limited to 'tests/unit/Web/THttpRequestTest.php')
-rw-r--r--tests/unit/Web/THttpRequestTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/Web/THttpRequestTest.php b/tests/unit/Web/THttpRequestTest.php
index 7f5da17d..314cce0a 100644
--- a/tests/unit/Web/THttpRequestTest.php
+++ b/tests/unit/Web/THttpRequestTest.php
@@ -23,7 +23,7 @@ class THttpRequestTest extends PHPUnit_Framework_TestCase {
$_SERVER['QUERY_STRING'] = 'page=Links';
$_SERVER['SCRIPT_FILENAME'] = __FILE__;
$_SERVER['PATH_INFO'] = __FILE__;
- $_SERVER['HTTP_REFERER'] = 'http://www.pradosoft.com';
+ $_SERVER['HTTP_REFERER'] = 'https://github.com/pradosoft/prado';
$_SERVER['REMOTE_ADDR'] = '127.0.0.1';
$_SERVER['HTTP_USER_AGENT'] = 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3';
$_SERVER['REMOTE_HOST'] = 'localhost';
@@ -194,7 +194,7 @@ class THttpRequestTest extends PHPUnit_Framework_TestCase {
public function testGetUrlReferrer() {
$request = new THttpRequest();
$request->init(null);
- self::assertEquals('http://www.pradosoft.com', $request->getUrlReferrer());
+ self::assertEquals('https://github.com/pradosoft/prado', $request->getUrlReferrer());
}
public function testGetBrowser() {