Permalink
Browse files

Fixed tests

  • Loading branch information...
1 parent 16c2eb2 commit 059da3ea700d6fec0e1dc9c1e5d9d39c0f8ea0aa @willdurand willdurand committed Aug 22, 2011
View
@@ -63,9 +63,13 @@ class ProjectConfiguration extends sfProjectConfiguration
$this->enablePlugins(array('sfPropelORMPlugin'));
$this->setPluginPath('sfPropelORMPlugin', realpath(dirname(__FILE__) . '/../../../..'));
- // Update the following parameters to fit your needs
- sfConfig::set('sf_phing_path', SF_DIR.'/../phing');
- sfConfig::set('sf_propel_path', SF_DIR.'/../propel');
+ // SVN way
+ //sfConfig::set('sf_propel_path', SF_DIR.'/../lib/vendor/propel');
+ //sfConfig::set('sf_phing_path', SF_DIR.'/../lib/vendor/phing');
+
+ // Git way
+ sfConfig::set('sf_propel_path', realpath(dirname(__FILE__) . '/../../../../lib/vendor/propel'));
+ sfConfig::set('sf_phing_path', realpath(dirname(__FILE__) . '/../../../../lib/vendor/phing'));
}
```
@@ -37,6 +37,7 @@ public function initialize()
sfConfig::get('sf_phing_path'),
sfConfig::get('sf_propel_path'),
sfConfig::get('sf_phing_path').'/../',
+ sfConfig::get('sf_phing_path').'/classes',
));
require_once 'runtime/lib/Propel.php';
@@ -10,8 +10,13 @@ public function setup()
$this->enablePlugins(array('sfPropelORMPlugin'));
$this->setPluginPath('sfPropelORMPlugin', realpath(dirname(__FILE__) . '/../../../..'));
- sfConfig::set('sf_phing_path', SF_DIR.'/../phing');
- sfConfig::set('sf_propel_path', SF_DIR.'/../propel');
+ // SVN way
+ //sfConfig::set('sf_propel_path', SF_DIR.'/../lib/vendor/propel');
+ //sfConfig::set('sf_phing_path', SF_DIR.'/../lib/vendor/phing');
+
+ // Git way
+ sfConfig::set('sf_propel_path', realpath(dirname(__FILE__) . '/../../../../lib/vendor/propel'));
+ sfConfig::set('sf_phing_path', realpath(dirname(__FILE__) . '/../../../../lib/vendor/phing'));
}
public function initializePropel($app)

0 comments on commit 059da3e

Please sign in to comment.