mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 01:58:47 +02:00
N°2651 Remove lib test files from index
This commit is contained in:
@@ -1,24 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Symfony\Component\HttpKernel\Tests\Exception;
|
||||
|
||||
use Symfony\Component\HttpKernel\Exception\UnauthorizedHttpException;
|
||||
|
||||
class UnauthorizedHttpExceptionTest extends HttpExceptionTest
|
||||
{
|
||||
public function testHeadersDefault()
|
||||
{
|
||||
$exception = new UnauthorizedHttpException('Challenge');
|
||||
$this->assertSame(['WWW-Authenticate' => 'Challenge'], $exception->getHeaders());
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider headerDataProvider
|
||||
*/
|
||||
public function testHeadersSetter($headers)
|
||||
{
|
||||
$exception = new UnauthorizedHttpException('Challenge');
|
||||
$exception->setHeaders($headers);
|
||||
$this->assertSame($headers, $exception->getHeaders());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user