Skip to content
This repository was archived by the owner on Jan 6, 2024. It is now read-only.

Commit 39bf3cc

Browse files
Merge pull request #33 from php-http/test-noarg-constructor
add test for default constructor
2 parents a56941f + 5f2c655 commit 39bf3cc

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

tests/DefaultHttpAdapterTest.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?php
2+
3+
namespace Http\Adapter\Guzzle6\Tests;
4+
5+
use Http\Adapter\Guzzle6\Client;
6+
use Http\Client\Tests\HttpClientTest;
7+
8+
/**
9+
* @author David Buchmann <[email protected]>
10+
*/
11+
class DefaultHttpAdapterTest extends HttpClientTest
12+
{
13+
/**
14+
* {@inheritdoc}
15+
*/
16+
protected function createHttpAdapter()
17+
{
18+
return new Client();
19+
}
20+
}

0 commit comments

Comments
 (0)