Skip to content

Commit

Permalink
[view] bugfix. force override factories
Browse files Browse the repository at this point in the history
  • Loading branch information
connorhu committed Dec 17, 2023
1 parent b9b4bf4 commit c3d6f27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/view/sfViewCacheManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function get_cache_config($contextual = false)
];
}

$context = sfContext::getInstance(['controller' => 'myController4', 'routing' => 'myRouting', 'request' => 'myRequest6']);
$context = sfContext::getInstance(['controller' => 'myController4', 'routing' => 'myRouting', 'request' => 'myRequest6'], true);

$r = $context->routing;
$r->connect('default', new sfRoute('/:module/:action/*'));
Expand Down

0 comments on commit c3d6f27

Please sign in to comment.