Author: grobmeier
Date: Sat May 23 13:28:57 2009
New Revision: 777914

URL: http://svn.apache.org/viewvc?rev=777914&view=rev
Log:
put expected root logger default level to ALL instead of DEBUG

Modified:
    incubator/log4php/trunk/src/test/php/LoggerHierarchyTest.php

Modified: incubator/log4php/trunk/src/test/php/LoggerHierarchyTest.php
URL: 
http://svn.apache.org/viewvc/incubator/log4php/trunk/src/test/php/LoggerHierarchyTest.php?rev=777914&r1=777913&r2=777914&view=diff
==============================================================================
--- incubator/log4php/trunk/src/test/php/LoggerHierarchyTest.php (original)
+++ incubator/log4php/trunk/src/test/php/LoggerHierarchyTest.php Sat May 23 
13:28:57 2009
@@ -27,11 +27,11 @@
        private $hierarchy;
         
        protected function setUp() {
-               $this->hierarchy = LoggerHierarchy::singleton();
+               $this->hierarchy = new LoggerHierarchy(new LoggerRoot());;
        }
        
-       public function testIfLevelIsInitiallyLevelDebug() {
-               self::assertEquals('DEBUG', 
$this->hierarchy->getRootLogger()->getLevel()->toString());
+       public function testIfLevelIsInitiallyLevelAllg() {
+               self::assertEquals('ALL', 
$this->hierarchy->getRootLogger()->getLevel()->toString());
        }
 
        public function testIfNameIsRoot() {
@@ -63,5 +63,5 @@
                        self::assertEquals(count($l->getAllAppenders()), 0);
                }
        }
-
+       
 }


Reply via email to