mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-12-02 21:19:58 +09:00
Add vendor and .env to make usable
This commit is contained in:
28
vendor/symfony/http-kernel/Tests/Exception/UnprocessableEntityHttpExceptionTest.php
vendored
Normal file
28
vendor/symfony/http-kernel/Tests/Exception/UnprocessableEntityHttpExceptionTest.php
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace Symfony\Component\HttpKernel\Tests\Exception;
|
||||
|
||||
use Symfony\Component\HttpKernel\Exception\UnprocessableEntityHttpException;
|
||||
|
||||
class UnprocessableEntityHttpExceptionTest extends HttpExceptionTest
|
||||
{
|
||||
/**
|
||||
* Test that setting the headers using the setter function
|
||||
* is working as expected.
|
||||
*
|
||||
* @param array $headers The headers to set
|
||||
*
|
||||
* @dataProvider headerDataProvider
|
||||
*/
|
||||
public function testHeadersSetter($headers)
|
||||
{
|
||||
$exception = new UnprocessableEntityHttpException(10);
|
||||
$exception->setHeaders($headers);
|
||||
$this->assertSame($headers, $exception->getHeaders());
|
||||
}
|
||||
|
||||
protected function createException()
|
||||
{
|
||||
return new UnprocessableEntityHttpException();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user