initial commit

This commit is contained in:
crazywhalecc
2022-12-26 19:10:28 +08:00
commit 1f4427b5b7
27 changed files with 2326 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<?php
declare(strict_types=1);
namespace Tests\Choir\Http;
use Choir\Http\Request;
use PHPUnit\Framework\TestCase;
/**
* @internal
*/
class RequestTest extends TestCase
{
public function testConstruct()
{
$req = new Request('GET', '/', [], 'nihao');
$this->assertEquals('nihao', $req->getBody()->getContents());
}
}