diff --git a/composer.json b/composer.json index 97136ff4ab288ffa0a562708d8d97dff172c440f..e423d967ee52a0b9c8ae84485b58ecf050a105f8 100644 --- a/composer.json +++ b/composer.json @@ -217,6 +217,7 @@ "classmap": ["typo3/sysext/extbase/Tests/Unit/Object/Container/Fixtures/"] }, "include-path": [ - "vendor/pear/http_request2/" + "vendor/pear/http_request2/", + "vendor/pear/net_url2/" ] } diff --git a/composer.lock b/composer.lock index ef9aef015bcdde4700e3fcef0494f060be3ff5c9..f1e8578c12e31ebe5052eead7b5ea227ad4b79fe 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "abe3f508408be07e42aa435fb92c836b", + "hash": "e849bfdd07351089ccc5dfc6c0a9bdf2", "packages": [ { "name": "cogpowered/finediff", diff --git a/typo3/sysext/core/Tests/Unit/Http/HttpRequestTest.php b/typo3/sysext/core/Tests/Unit/Http/HttpRequestTest.php new file mode 100644 index 0000000000000000000000000000000000000000..a3e1a6ba19b1c55a380bd884bc27824d5e3337b9 --- /dev/null +++ b/typo3/sysext/core/Tests/Unit/Http/HttpRequestTest.php @@ -0,0 +1,30 @@ +<?php +namespace TYPO3\CMS\Core\Tests\Unit\Html; + +/* + * This file is part of the TYPO3 CMS project. + * + * It is free software; you can redistribute it and/or modify it under + * the terms of the GNU General Public License, either version 2 + * of the License, or any later version. + * + * For the full copyright and license information, please read the + * LICENSE.txt file that was distributed with this source code. + * + * The TYPO3 project - inspiring people to share! + */ + +use TYPO3\CMS\Core\Tests\UnitTestCase; + +/** + * Testcase for \TYPO3\CMS\Core\Http\HttpRequest + */ +class HttpRequestTest extends UnitTestCase { + + /** + * @test + */ + public function pearLibraryCanBeInstantiated() { + $this->assertInstanceOf('HTTP_Request2', new \HTTP_Request2()); + } +}