diff options
author | Andrey Andreev <narf@devilix.net> | 2020-07-09 10:33:52 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2020-07-09 10:41:50 +0200 |
commit | 3de79e995faf021fab70b6a82ec57e9fdb0dbedb (patch) | |
tree | e1d26ce0d6e760c36abb859b87b5251f3169ddb3 /tests/codeigniter | |
parent | 409a950bd856dddac28b3212a1acd014ab7ee336 (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']); |