Skip to content

Commit

Permalink
Merge pull request Sylius#85 from bitbager/master
Browse files Browse the repository at this point in the history
[General] Prepare demo
  • Loading branch information
bitbager authored Nov 14, 2017
2 parents d8d0b62 + fcf7c2f commit be80bff
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,7 @@ tests/Application/var/
!tests/Application/var/.gitkeep

tests/Application/web/*
!tests/Application/web/favicon.ico
!tests/Application/web/app.php
!tests/Application/web/app_dev.php
!tests/Application/web/app_test.php
19 changes: 19 additions & 0 deletions tests/Application/web/app.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php

declare(strict_types=1);

use Symfony\Component\Debug\Debug;
use Symfony\Component\HttpFoundation\Request;

require __DIR__ . '/../../../vendor/autoload.php';

Debug::enable();

$kernel = new AppKernel('prod', true);

$request = Request::createFromGlobals();

$response = $kernel->handle($request);
$response->send();

$kernel->terminate($request, $response);
Binary file added tests/Application/web/favicon.ico
Binary file not shown.

0 comments on commit be80bff

Please sign in to comment.