@@ -35,7 +35,7 @@ public function testLoadWithSeveralHandlers()
3535
3636 $ handler = $ container ->getDefinition ('monolog.handler.custom ' );
3737 $ this ->assertDICDefinitionClass ($ handler , '%monolog.handler.stream.class% ' );
38- $ this ->assertDICConstructorArguments ($ handler , array ('/tmp/symfony.log ' , \Monolog \Logger::ERROR , false ));
38+ $ this ->assertDICConstructorArguments ($ handler , array ('/tmp/symfony.log ' , \Monolog \Logger::ERROR , false , 0666 ));
3939
4040 $ handler = $ container ->getDefinition ('monolog.handler.main ' );
4141 $ this ->assertDICDefinitionClass ($ handler , '%monolog.handler.fingers_crossed.class% ' );
@@ -62,7 +62,7 @@ public function testLoadWithOverwriting()
6262
6363 $ handler = $ container ->getDefinition ('monolog.handler.custom ' );
6464 $ this ->assertDICDefinitionClass ($ handler , '%monolog.handler.stream.class% ' );
65- $ this ->assertDICConstructorArguments ($ handler , array ('/tmp/symfony.log ' , \Monolog \Logger::WARNING , true ));
65+ $ this ->assertDICConstructorArguments ($ handler , array ('/tmp/symfony.log ' , \Monolog \Logger::WARNING , true , null ));
6666
6767 $ handler = $ container ->getDefinition ('monolog.handler.main ' );
6868 $ this ->assertDICDefinitionClass ($ handler , '%monolog.handler.fingers_crossed.class% ' );
@@ -87,7 +87,7 @@ public function testLoadWithNewAtEnd()
8787
8888 $ handler = $ container ->getDefinition ('monolog.handler.new ' );
8989 $ this ->assertDICDefinitionClass ($ handler , '%monolog.handler.stream.class% ' );
90- $ this ->assertDICConstructorArguments ($ handler , array ('/tmp/monolog.log ' , \Monolog \Logger::ERROR , true ));
90+ $ this ->assertDICConstructorArguments ($ handler , array ('/tmp/monolog.log ' , \Monolog \Logger::ERROR , true , null ));
9191 }
9292
9393 public function testLoadWithNewAndPriority ()
@@ -114,11 +114,11 @@ public function testLoadWithNewAndPriority()
114114
115115 $ handler = $ container ->getDefinition ('monolog.handler.first ' );
116116 $ this ->assertDICDefinitionClass ($ handler , '%monolog.handler.rotating_file.class% ' );
117- $ this ->assertDICConstructorArguments ($ handler , array ('/tmp/monolog.log ' , 0 , \Monolog \Logger::ERROR , true ));
117+ $ this ->assertDICConstructorArguments ($ handler , array ('/tmp/monolog.log ' , 0 , \Monolog \Logger::ERROR , true , null ));
118118
119119 $ handler = $ container ->getDefinition ('monolog.handler.last ' );
120120 $ this ->assertDICDefinitionClass ($ handler , '%monolog.handler.stream.class% ' );
121- $ this ->assertDICConstructorArguments ($ handler , array ('/tmp/last.log ' , \Monolog \Logger::ERROR , true ));
121+ $ this ->assertDICConstructorArguments ($ handler , array ('/tmp/last.log ' , \Monolog \Logger::ERROR , true , null ));
122122 }
123123
124124 public function testHandlersWithChannels ()
0 commit comments