|
1 | 1 | <?php |
2 | 2 | /** |
3 | | - * Webtools Library |
4 | | - * Copyright (C) 2014 IceFlame.net |
| 3 | + * FlameCore Webtools |
| 4 | + * Copyright (C) 2015 IceFlame.net |
5 | 5 | * |
6 | 6 | * Permission to use, copy, modify, and/or distribute this software for |
7 | 7 | * any purpose with or without fee is hereby granted, provided that the |
|
16 | 16 | * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
17 | 17 | * |
18 | 18 | * @package FlameCore\Webtools |
19 | | - * @version 1.3 |
| 19 | + * @version 2.0 |
20 | 20 | * @link http://www.flamecore.org |
21 | | - * @license ISC License <http://opensource.org/licenses/ISC> |
| 21 | + * @license http://opensource.org/licenses/ISC ISC License |
22 | 22 | */ |
23 | 23 |
|
24 | 24 | namespace FlameCore\Webtools\Tests; |
@@ -103,7 +103,7 @@ public function testGet() |
103 | 103 | $info = $this->examineResult($result); |
104 | 104 |
|
105 | 105 | $this->assertEquals(['foo' => 'bar'], (array) $info->args); |
106 | | - $this->assertEquals('Mozilla/5.0 (compatible; FlameCore Webtools/1.3)', $info->headers->{'User-Agent'}); |
| 106 | + $this->assertEquals('Mozilla/5.0 (compatible; FlameCore Webtools/2.0)', $info->headers->{'User-Agent'}); |
107 | 107 | } |
108 | 108 |
|
109 | 109 | public function testRequestWithData() |
@@ -163,7 +163,7 @@ public function testSetHeaders() |
163 | 163 |
|
164 | 164 | public function testSetUserAgent() |
165 | 165 | { |
166 | | - $uastring = 'TestUA/1.0 (fake; FlameCore Webtools/1.3)'; |
| 166 | + $uastring = 'TestUA/1.0 (fake; FlameCore Webtools/2.0)'; |
167 | 167 | $http = new HttpClient($uastring); |
168 | 168 | $http->setUserAgent($uastring); |
169 | 169 |
|
|
0 commit comments