Skip to content

Commit 7d5fe4d

Browse files
committed
init
1 parent d375665 commit 7d5fe4d

File tree

3 files changed

+34
-0
lines changed

3 files changed

+34
-0
lines changed

.travis.yml

+2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
env: DEPENDENCIES="dunglas/symfony-lock:^3"
3333
- php: 7.2
3434
env: DEPENDENCIES="dunglas/symfony-lock:^4"
35+
- php: 7.2
36+
env: TEST_COMMAND="./vendor/bin/phpunit" DEPENDENCIES="phpunit/phpunit:^7.5 nyholm/psr7:^1.0"
3537

3638
# Latest dev release
3739
- php: 7.3

phpunit.xml.dist

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<phpunit bootstrap="./vendor/autoload.php"
4+
colors="true"
5+
convertErrorsToExceptions="true"
6+
convertNoticesToExceptions="true"
7+
convertWarningsToExceptions="true">
8+
9+
<testsuites>
10+
<testsuite name="HTTPlug unit tests">
11+
<directory suffix="Test.php">./tests</directory>
12+
</testsuite>
13+
</testsuites>
14+
</phpunit>

tests/PluginClientTest.php

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace tests\Http\Client\Common;
6+
7+
use PHPUnit\Framework\TestCase;
8+
9+
class PluginClientTest extends TestCase
10+
{
11+
private $syncClient;
12+
private $asyncClient;
13+
14+
protected function setUp()
15+
{
16+
17+
}
18+
}

0 commit comments

Comments
 (0)