Introducing settings file, some refactorings and stabilization
This commit is contained in:
@@ -3,9 +3,8 @@
|
||||
declare(strict_types=1);
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use PmConverter\Exceptions\{
|
||||
EmptyHttpVerbException,
|
||||
InvalidHttpVersionException};
|
||||
use PmConverter\Exceptions\EmptyHttpVerbException;
|
||||
use PmConverter\Exceptions\InvalidHttpVersionException;
|
||||
|
||||
class AbstractRequestTest extends TestCase
|
||||
{
|
||||
@@ -71,7 +70,7 @@ class AbstractRequestTest extends TestCase
|
||||
/**
|
||||
* @covers PmConverter\Converters\Abstract\AbstractRequest
|
||||
* @covers PmConverter\Converters\Abstract\AbstractRequest::setUrl()
|
||||
* @covers PmConverter\Converters\Abstract\AbstractRequest::getUrl()
|
||||
* @covers PmConverter\Converters\Abstract\AbstractRequest::getRawUrl()
|
||||
* @return void
|
||||
*/
|
||||
public function testUrl(): void
|
||||
@@ -79,7 +78,7 @@ class AbstractRequestTest extends TestCase
|
||||
$request = new \PmConverter\Converters\Http\HttpRequest();
|
||||
$request->setUrl('http://localhost');
|
||||
|
||||
$this->assertSame('http://localhost', $request->getUrl());
|
||||
$this->assertSame('http://localhost', $request->getRawUrl());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user