From c3d6f277322f99e7fcfc8bb2368925d854a16002 Mon Sep 17 00:00:00 2001 From: Karoly Gossler Date: Sun, 17 Dec 2023 13:40:23 +0100 Subject: [PATCH] [view] bugfix. force override factories --- tests/view/sfViewCacheManagerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/view/sfViewCacheManagerTest.php b/tests/view/sfViewCacheManagerTest.php index dcd56ff37..fa1e8bbd0 100644 --- a/tests/view/sfViewCacheManagerTest.php +++ b/tests/view/sfViewCacheManagerTest.php @@ -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/*'));