Skip to content

Commit

Permalink
Fix broken tests (#167)
Browse files Browse the repository at this point in the history
* fix broken tests

* Fix composer validation error

Co-authored-by: andig <[email protected]>
  • Loading branch information
acasademont and andig authored Apr 18, 2020
1 parent a704f14 commit e060e0b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions Bootstraps/Symfony.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ public function getApplication()

if ($this->debug) {
Utils::bindAndCall(function () use ($app) {
$app->boot();
$container = $app->container;

$containerClassName = substr(strrchr(get_class($app->container), "\\"), 1);
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "php-pm/httpkernel-adapter",
"description": "PHP-PM adapter for Symfony HTTPKernel.",
"license": "MIT",
"require": {
"php-pm/php-pm": "^2.0",
Expand Down
4 changes: 4 additions & 0 deletions tests/Fixtures/Symfony/config/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ services:
PHPPM\Tests\Fixtures\Symfony\Controller\:
resource: '../Controller/*'
tags: ['controller.service_arguments']
# override the default symfony logger
logger:
synthetic: true
public: true

framework:
secret: foobar

0 comments on commit e060e0b

Please sign in to comment.