Author: chammers
Date: Tue Oct  6 18:24:22 2009
New Revision: 822408

URL: http://svn.apache.org/viewvc?rev=822408&view=rev
Log:
dirname patch to be able to run it from root directory as well as from maven


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

Modified: 
incubator/log4php/trunk/src/test/php/configurators/LoggerConfiguratorPhpTest.php
URL: 
http://svn.apache.org/viewvc/incubator/log4php/trunk/src/test/php/configurators/LoggerConfiguratorPhpTest.php?rev=822408&r1=822407&r2=822408&view=diff
==============================================================================
--- 
incubator/log4php/trunk/src/test/php/configurators/LoggerConfiguratorPhpTest.php
 (original)
+++ 
incubator/log4php/trunk/src/test/php/configurators/LoggerConfiguratorPhpTest.php
 Tue Oct  6 18:24:22 2009
@@ -34,7 +34,7 @@
        }
        
        public function testConfigure() {
-               
Logger::configure('configurators/test1.php','LoggerConfiguratorPhp');
+               
Logger::configure(dirname(__FILE__).'/test1.php','LoggerConfiguratorPhp');
                $root = Logger::getRootLogger();
                self::assertEquals(LoggerLevel::getLevelWarn(), 
$root->getLevel());
                $appender = $root->getAppender("default");


Reply via email to