diff options
author | Andrey Andreev <narf@devilix.net> | 2020-07-09 10:33:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-09 10:33:52 +0200 |
commit | 7191445c941cef1c02457471536c49ea13375246 (patch) | |
tree | ad0c8b72914b4f193ccda4e095b15a503b8cb027 /tests/codeigniter | |
parent | f56a958f726d5bb77a49dda5b7874be905736b00 (diff) | |
parent | 6ba0207160f8f2b99c79dd285bccf45f574ec660 (diff) |
[ci skip] Merge pull request #5970 from sapics/fix/user-guide-url
Fix user guide url
Diffstat (limited to 'tests/codeigniter')
-rw-r--r-- | tests/codeigniter/libraries/Useragent_test.php | 4 |
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']); |