Skip to content

Commit

Permalink
[test] resetSfConfig now clear all config
Browse files Browse the repository at this point in the history
  • Loading branch information
connorhu committed Dec 20, 2023
1 parent b923b5a commit 37be908
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/test/Symfony1ProjectTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class Symfony1ProjectTestCase extends TestCase
{
public function resetSfConfig()
{
sfConfig::clear();
sfConfig::set('sf_symfony_lib_dir', realpath(__DIR__.'/../lib'));
sfConfig::set('sf_test_cache_dir', sys_get_temp_dir().'/sf_test_project');
}
Expand Down

0 comments on commit 37be908

Please sign in to comment.