Skip to content

Commit bcbf4c5

Browse files
committed
fixed tests
1 parent 079c3d1 commit bcbf4c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/DependencyInjection/MonologExtensionTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -357,11 +357,11 @@ public function testFingersCrossedHandlerWhenExcluded404sAreSpecified()
357357
$this->assertDICDefinitionMethodCallAt(1, $logger, 'pushHandler', array(new Reference('monolog.handler.main')));
358358

359359
$strategy = $container->getDefinition('monolog.handler.main.not_found_strategy');
360-
$this->assertDICDefinitionClass($strategy, '%monolog.activation_strategy.not_found.class%');
360+
$this->assertDICDefinitionClass($strategy, 'Symfony\Bridge\Monolog\Handler\FingersCrossed\NotFoundActivationStrategy');
361361
$this->assertDICConstructorArguments($strategy, array(new Reference('request_stack'), array('^/foo', '^/bar'), \Monolog\Logger::WARNING));
362362

363363
$handler = $container->getDefinition('monolog.handler.main');
364-
$this->assertDICDefinitionClass($handler, '%monolog.handler.fingers_crossed.class%');
364+
$this->assertDICDefinitionClass($handler, 'Monolog\Handler\FingersCrossedHandler');
365365
$this->assertDICConstructorArguments($handler, array(new Reference('monolog.handler.nested'), new Reference('monolog.handler.main.not_found_strategy'), 0, true, true, null));
366366
}
367367

0 commit comments

Comments
 (0)