Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8463b51

Browse files
Guikingonenicolas-grekas
authored andcommitted
Add tests
1 parent762cd25 commit8463b51

File tree

3 files changed

+667
-0
lines changed

3 files changed

+667
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php
2+
3+
/*
4+
* This file is part of the Symfony package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
12+
namespaceSymfony\Component\HttpClient\Tests;
13+
14+
useSymfony\Component\HttpClient\ApiClient;
15+
useSymfony\Component\HttpClient\CurlHttpClient;
16+
useSymfony\Contracts\HttpClient\ApiClientInterface;
17+
useSymfony\Contracts\HttpClient\Test\ApiClientTest;
18+
19+
class CurlApiClientTestextends ApiClientTest
20+
{
21+
protectedfunctiongetApiClient():ApiClientInterface
22+
{
23+
returnnewApiClient(newCurlHttpClient());
24+
}
25+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php
2+
3+
/*
4+
* This file is part of the Symfony package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
12+
namespaceSymfony\Component\HttpClient\Tests;
13+
14+
useSymfony\Component\HttpClient\ApiClient;
15+
useSymfony\Component\HttpClient\NativeHttpClient;
16+
useSymfony\Contracts\HttpClient\ApiClientInterface;
17+
useSymfony\Contracts\HttpClient\Test\ApiClientTest;
18+
19+
class NativeApiClientTestextends ApiClientTest
20+
{
21+
protectedfunctiongetApiClient():ApiClientInterface
22+
{
23+
returnnewApiClient(newNativeHttpClient());
24+
}
25+
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp