Skip to content

Commit d118b83

Browse files
authored
Merge pull request #927 from ruudk/disable-log-noise
Enable MonologBundle in functional tests
2 parents d0705ef + ced4345 commit d118b83

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252

5353
- name: "Symfony version"
5454
if: "matrix.symfony-version != ''"
55-
run: perl -pi -e 's#"(symfony/.*)":\s*"\^.*"#"$1":"'"${{ matrix.symfony-version }}.*"'"#' composer.json && cat composer.json
55+
run: perl -pi -e 's#"(symfony/.*)":\s*".*\|\|.*"#"$1":"'"${{ matrix.symfony-version }}.*"'"#' composer.json && cat composer.json
5656

5757
- name: "Webonyx GraphQL version"
5858
if: "matrix.graphql-version != ''"

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
"symfony/browser-kit": "^4.4 || ^5.2",
6060
"symfony/console": "^4.4 || ^5.2",
6161
"symfony/css-selector": "^4.4 || ^5.2",
62+
"symfony/monolog-bundle": "^3.7",
6263
"symfony/phpunit-bridge": "^4.4 || ^5.2",
6364
"symfony/process": "^4.4 || ^5.2",
6465
"symfony/security-bundle": "^4.4 || ^5.2",

tests/Functional/App/TestKernel.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
use Overblog\GraphQLBundle\OverblogGraphQLBundle;
88
use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
9+
use Symfony\Bundle\MonologBundle\MonologBundle;
910
use Symfony\Bundle\SecurityBundle\SecurityBundle;
1011
use Symfony\Component\Config\Loader\LoaderInterface;
1112
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
@@ -25,6 +26,7 @@ public function registerBundles()
2526
{
2627
yield new FrameworkBundle();
2728
yield new SecurityBundle();
29+
yield new MonologBundle();
2830
yield new OverblogGraphQLBundle();
2931
}
3032

0 commit comments

Comments
 (0)