[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gallery-checkins
Subject:    [Gallery-checkins] gallery2/lib/tools/phpunit GalleryTestCase.class,1.50,1.51
From:       Andy Staudacher <andy_st () users ! sourceforge ! net>
Date:       2005-08-31 22:40:14
Message-ID: E1EAbFj-0003nY-Nj () mail ! sourceforge ! net
[Download RAW message or body]

Update of /cvsroot/gallery/gallery2/lib/tools/phpunit
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26285

Modified Files:
	GalleryTestCase.class 
Log Message:
FIX: small php 5.1.0 pass by reference fix, recommended by John_K


Index: GalleryTestCase.class
===================================================================
RCS file: /cvsroot/gallery/gallery2/lib/tools/phpunit/GalleryTestCase.class,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- GalleryTestCase.class	24 Aug 2005 18:30:40 -0000	1.50
+++ GalleryTestCase.class	31 Aug 2005 22:40:12 -0000	1.51
@@ -247,9 +247,11 @@
 	$_COOKIE = array_shift($this->_saveVars);
 	$_SERVER = array_shift($this->_saveVars);
 	$_ENV = array_shift($this->_saveVars);
-	$gallery->setPlatform(array_shift($this->_saveVars));
+	$platform = array_shift($this->_saveVars);
+	$gallery->setPlatform($platform);
 	$gallery->setActiveUser(array_shift($this->_saveVars));
-	$gallery->setUrlGenerator(array_shift($this->_saveVars));
+	$urlGenerator = array_shift($this->_saveVars);
+	$gallery->setUrlGenerator($urlGenerator);
 	$gallery->_config = array_shift($this->_saveVars);
 	$gallery->_phpVm = array_shift($this->_saveVars);
 



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
__[ g a l l e r y - c h e c k i n s ]_________________________

[ list info/archive --> http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download --> http://gallery.sf.net ]
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic