Development

Changeset 5842

You must first sign up to be able to contribute.

Changeset 5842

Show
Ignore:
Timestamp:
11/04/07 16:18:53 (10 months ago)
Author:
fabien
Message:

fixed assertion fail on non-unix system in configTest functional test (closes #2486)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/test/functional/configTest.php

    r3203 r5842  
    6363function strip_paths($f) 
    6464{ 
    65   $f = str_replace(sfConfig::get('sf_symfony_data_dir'), 'SYMFONY', $f); 
    66   $f = str_replace(sfConfig::get('sf_root_dir'), 'PROJECT', $f); 
     65  $f = str_replace( 
     66    array(sfConfig::get('sf_symfony_data_dir'), sfConfig::get('sf_root_dir'), DIRECTORY_SEPARATOR), 
     67    array('SYMFONY', 'PROJECT', '/'), 
     68    $f); 
    6769 
    6870  return $f;