[pLog-svn] r3754 - plog/trunk/class/test/tests/summary/action

oscar at devel.lifetype.net oscar at devel.lifetype.net
Thu Jul 20 05:53:36 GMT 2006


Author: oscar
Date: 2006-07-20 05:53:36 +0000 (Thu, 20 Jul 2006)
New Revision: 3754

Modified:
   plog/trunk/class/test/tests/summary/action/summaryaction_test.class.php
Log:
now it should really work


Modified: plog/trunk/class/test/tests/summary/action/summaryaction_test.class.php
===================================================================
--- plog/trunk/class/test/tests/summary/action/summaryaction_test.class.php	2006-07-20 05:49:56 UTC (rev 3753)
+++ plog/trunk/class/test/tests/summary/action/summaryaction_test.class.php	2006-07-20 05:53:36 UTC (rev 3754)
@@ -22,12 +22,12 @@
 			include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
 			$config =& Config::getConfig();
 			
-			$url = $config->getValue( "base_url" )."/summary.php?lang=es_ES";
+			$url = $config->getValue( "base_url" )."/summary.php";
 			
 			// first set it to Spanish
-			$this->assertHTTPResponseContains( $url, "Bitácoras nuevas", "Unable to change the locale in summary.php via the 'lang' parameter!" );
+			$this->assertHTTPResponseContains( $url."?lang=es_ES", "Bitácoras nuevas", "Unable to change the locale in summary.php via the 'lang' parameter!" );
 			// and then back to english again
-			$this->assertHTTPResponseContains( $url, "Newest Blogs", "Unable to change the locale in summary.php via the 'lang' parameter!" );
+			$this->assertHTTPResponseContains( $url."?lang=en_UK", "Newest Blogs", "Unable to change the locale in summary.php via the 'lang' parameter!" );
 		}		
 	}
 ?>
\ No newline at end of file



More information about the pLog-svn mailing list