Changeset 480 for trunk/tests


Ignore:
Timestamp:
May 4, 2014 12:29:05 AM (10 years ago)
Author:
anonymous
Message:

Removed some legacy files. Improved use of array_key_exists.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/PrefsTest.php

    r468 r480  
    77 * For details visit the project site: <http://trac.strangecode.com/codebase/>
    88 * Copyright 2001-2012 Strangecode, LLC
    9  * 
     9 *
    1010 * This file is part of The Strangecode Codebase.
    1111 *
     
    1414 * Free Software Foundation, either version 3 of the License, or (at your option)
    1515 * any later version.
    16  * 
     16 *
    1717 * The Strangecode Codebase is distributed in the hope that it will be useful, but
    1818 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    1919 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
    2020 * details.
    21  * 
     21 *
    2222 * You should have received a copy of the GNU General Public License along with
    2323 * The Strangecode Codebase. If not, see <http://www.gnu.org/licenses/>.
     
    4747        require dirname(__FILE__) . '/_config.inc.php';
    4848        require_once '../lib/Prefs.inc.php';
    49         $this->Prefs =& new Prefs(PARAM);
     49        $prefs = new Prefs('test', array(
     50            'storagetype' => 'session',
     51        ));
    5052    }
    5153
Note: See TracChangeset for help on using the changeset viewer.