summaryrefslogtreecommitdiff
path: root/tests/unit/Web/TUriTest.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/TUriTest.php
parente99e35819d53dc48ae4e9a8491528a6b6011469f (diff)
Move urls from pradosoft.com to github's project page; drop unmaintained quickstart tutorial translations
Diffstat (limited to 'tests/unit/Web/TUriTest.php')
-rw-r--r--tests/unit/Web/TUriTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit/Web/TUriTest.php b/tests/unit/Web/TUriTest.php
index b610cd1b..351a2cce 100644
--- a/tests/unit/Web/TUriTest.php
+++ b/tests/unit/Web/TUriTest.php
@@ -7,7 +7,7 @@ Prado::using('System.Web.THttpRequest');
*/
class TUriTest extends PHPUnit_Framework_TestCase {
- const URISTR='http://login:p@ssw0rd:compl3x@www.pradosoft.com:80/demos/quickstart/index.php?page=test&param1=test2#anchor';
+ const URISTR='http://login:p@ssw0rd:compl3x@www.pradoframework.net:80/demos/quickstart/index.php?page=test&param1=test2#anchor';
public function setUp () {
$this->uri=new TUri(self::URISTR);
@@ -18,11 +18,11 @@ class TUriTest extends PHPUnit_Framework_TestCase {
}
public function testConstruct() {
- $url="http://www.pradosoft.com/";
+ $url="http://www.pradoframework.net/";
$uri=new TUri ($url);
self::assertEquals($url, $uri->getUri() );
// Bad uri test
- $url="http://www.pradosoft.com:badport/test";
+ $url="http://www.pradoframework.net:badport/test";
try {
$url=new TUri($url);
self::fail ('exception not raised with an invalid URL');
@@ -40,7 +40,7 @@ class TUriTest extends PHPUnit_Framework_TestCase {
}
public function testGetHost() {
- self::assertEquals('www.pradosoft.com', $this->uri->getHost());
+ self::assertEquals('www.pradoframework.net', $this->uri->getHost());
}
public function testGetPort() {