logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ihabu...@apache.org
Subject svn commit: r1240476 - /logging/log4php/trunk/src/test/php/helpers/LoggerOptionConverterTest.php
Date Sat, 04 Feb 2012 09:54:04 GMT
Author: ihabunek
Date: Sat Feb  4 09:54:04 2012
New Revision: 1240476

URL: http://svn.apache.org/viewvc?rev=1240476&view=rev
Log:
Adjusted tests for changes introduced when fixing LOG4PHP-167.

Modified:
    logging/log4php/trunk/src/test/php/helpers/LoggerOptionConverterTest.php

Modified: logging/log4php/trunk/src/test/php/helpers/LoggerOptionConverterTest.php
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/test/php/helpers/LoggerOptionConverterTest.php?rev=1240476&r1=1240475&r2=1240476&view=diff
==============================================================================
--- logging/log4php/trunk/src/test/php/helpers/LoggerOptionConverterTest.php (original)
+++ logging/log4php/trunk/src/test/php/helpers/LoggerOptionConverterTest.php Sat Feb  4 09:54:04
2012
@@ -77,20 +77,11 @@ class LoggerOptionConverterTest extends 
     }
     
     /**
-     * Test fail on empty string.
-     * @expectedException LoggerException
-     * @expectedExceptionMessage Given value [''] cannot be converted to boolean.
-     */
-    public function testToBooleanFailure2() {
-    	LoggerOptionConverter::toBooleanEx('');
-    }
-    
-    /**
      * Test fail on invalid string.
      * @expectedException LoggerException
      * @expectedExceptionMessage Given value ['foo'] cannot be converted to boolean.
      */
-    public function testToBooleanFailure3() {
+    public function testToBooleanFailure2() {
     	LoggerOptionConverter::toBooleanEx('foo');
     }
     



Mime
View raw message