mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-10 22:37:28 +01:00
28 lines
680 B
PHP
28 lines
680 B
PHP
|
<?php
|
||
|
|
||
|
namespace tests\Integration\Domain\FixtureManagement;
|
||
|
|
||
|
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
||
|
use Symfony\Component\HttpFoundation\Request;
|
||
|
|
||
|
/**
|
||
|
* @author kevinfrantz
|
||
|
*/
|
||
|
class ImprintFixtureSourceTest extends KernelTestCase
|
||
|
{
|
||
|
public function setUp(): void
|
||
|
{
|
||
|
self::bootKernel();
|
||
|
}
|
||
|
|
||
|
public function testImprintSourceReachable(): void
|
||
|
{
|
||
|
$request = new Request([], [], [], [], [], [
|
||
|
'REQUEST_URI' => 'source/imprint.html',
|
||
|
]);
|
||
|
$request->setMethod(Request::METHOD_GET);
|
||
|
$response = static::$kernel->handle($request);
|
||
|
$this->assertEquals(200, $response->getStatusCode());
|
||
|
}
|
||
|
}
|