summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorsapics <gv.nishino@gmail.com>2020-06-24 04:51:36 +0200
committersapics <gv.nishino@gmail.com>2020-06-24 04:51:36 +0200
commit6ba0207160f8f2b99c79dd285bccf45f574ec660 (patch)
tree87b405f4ef85dcd8148cd7a19af742d60cb29c1d /tests
parent1428072599798395b04a545cfe483707cd2aaaca (diff)
Fix user guide url
Replace from https://codeigniter.com/user_guide/* to https://codeigniter.com/userguide3/*
Diffstat (limited to 'tests')
-rw-r--r--tests/codeigniter/libraries/Useragent_test.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/codeigniter/libraries/Useragent_test.php b/tests/codeigniter/libraries/Useragent_test.php
index c02f2bd9d..087544a1a 100644
--- a/tests/codeigniter/libraries/Useragent_test.php
+++ b/tests/codeigniter/libraries/Useragent_test.php
@@ -51,9 +51,9 @@ class UserAgent_test extends CI_TestCase {
public function test_referrer()
{
- $_SERVER['HTTP_REFERER'] = 'http://codeigniter.com/user_guide/';
+ $_SERVER['HTTP_REFERER'] = 'http://codeigniter.com/userguide3/';
$this->assertTrue($this->agent->is_referral());
- $this->assertEquals('http://codeigniter.com/user_guide/', $this->agent->referrer());
+ $this->assertEquals('http://codeigniter.com/userguide3/', $this->agent->referrer());
$this->agent->referer = NULL;
unset($_SERVER['HTTP_REFERER']);