Author: ihabunek
Date: Tue Aug  9 09:12:58 2011
New Revision: 1155275

URL: http://svn.apache.org/viewvc?rev=1155275&view=rev
Log:
Fixed minor bug in tests where logger level integer contant was cast to string 
in PHP config.

Modified:
    
logging/log4php/trunk/src/test/php/configurators/LoggerConfiguratorPhpTest.php

Modified: 
logging/log4php/trunk/src/test/php/configurators/LoggerConfiguratorPhpTest.php
URL: 
http://svn.apache.org/viewvc/logging/log4php/trunk/src/test/php/configurators/LoggerConfiguratorPhpTest.php?rev=1155275&r1=1155274&r2=1155275&view=diff
==============================================================================
--- 
logging/log4php/trunk/src/test/php/configurators/LoggerConfiguratorPhpTest.php 
(original)
+++ 
logging/log4php/trunk/src/test/php/configurators/LoggerConfiguratorPhpTest.php 
Tue Aug  9 09:12:58 2011
@@ -135,7 +135,7 @@ class LoggerConfiguratorPhpTest extends 
     public function testLevelsConstant() {
         Logger::configure(array (
             'rootLogger' => array (
-                'level' => (string) LoggerLevel::ERROR,
+                'level' => LoggerLevel::ERROR,
                 'appenders' => array (
                     'default', 'filetest'
                 ),


Reply via email to