Skip to content

Commit

Permalink
[helper] bugfix. force override factories
Browse files Browse the repository at this point in the history
  • Loading branch information
connorhu committed Dec 16, 2023
1 parent f42b70a commit bb57282
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/helper/DateHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function testTodoMigrate()
{
sfConfig::set('sf_charset', 'utf-8');

$context = sfContext::getInstance(['user' => 'sfUser']);
$context = sfContext::getInstance(['user' => 'sfUser'], true);

// get a fixed timestamp to test with
$now = time();
Expand Down
2 changes: 1 addition & 1 deletion tests/helper/UrlHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class UrlHelperTest extends TestCase
public function testTodoMigrate()
{
sfForm::enableCSRFProtection();
$context = sfContext::getInstance(['controller' => 'myController3', 'request' => 'myRequest2']);
$context = sfContext::getInstance(['controller' => 'myController3', 'request' => 'myRequest2'], true);

// url_for()
$this->diag('url_for()');
Expand Down

0 comments on commit bb57282

Please sign in to comment.