Skip to content

Commit

Permalink
Fixed PHPUnit Warning
Browse files Browse the repository at this point in the history
  • Loading branch information
lyrixx committed May 16, 2019
1 parent a7c1046 commit 9f8e531
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Expand Up @@ -26,6 +26,8 @@ matrix:
env: SYMFONY_VERSION="3.4.*" DEPENDENCIES=dev
- php: 7.0
- php: 7.1
# There is a bug in PHPUnit 5.7
env: SYMFONY_PHPUNIT_VERSION=6.5
- php: 7.2
- php: 7.3
# Test against dev versions
Expand Down
3 changes: 3 additions & 0 deletions Tests/DependencyInjection/Compiler/LoggerChannelPassTest.php
Expand Up @@ -140,6 +140,9 @@ public function testChannelsConfigurationOptionSupportsAppChannel()

$container->setParameter('monolog.additional_channels', array('app'));
$container->compile();

// the test ensures that the validation does not fail (i.e. it does not throw any exceptions)
$this->addToAssertionCount(1);
}

private function getContainer()
Expand Down

0 comments on commit 9f8e531

Please sign in to comment.