[Twig] fixed failure of functional test