Add tests to make sure KnpPaginator plays nice

This commit is contained in:
Tim Nagel 2014-06-18 20:02:05 +10:00
parent 949ea6963f
commit 3ae382c933
4 changed files with 16 additions and 4 deletions

View file

@ -1,10 +1,13 @@
<?php
use FOS\ElasticaBundle\FOSElasticaBundle;
use Knp\Bundle\PaginatorBundle\KnpPaginatorBundle;
use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
use Symfony\Bundle\TwigBundle\TwigBundle;
return array(
new FrameworkBundle(),
new FOSElasticaBundle(),
);
new KnpPaginatorBundle(),
new TwigBundle(),
);

View file

@ -1,6 +1,13 @@
imports:
- { resource: ./../config/config.yml }
framework:
templating:
engines: ['twig']
twig:
debug: %kernel.debug%
fos_elastica:
clients:
default:

View file

@ -5,4 +5,4 @@ framework:
default_locale: en
services:
logger: { class: Symfony\Component\HttpKernel\Log\NullLogger }
logger: { class: Symfony\Component\HttpKernel\Log\NullLogger }

View file

@ -28,8 +28,10 @@
"propel/propel1": "1.6.*",
"pagerfanta/pagerfanta": "1.0.*@dev",
"knplabs/knp-components": "~1.2",
"knplabs/knp-paginator-bundle": "~2.4",
"symfony/browser-kit" : "~2.3",
"symfony/expression-language" : "~2.4"
"symfony/expression-language" : "~2.4",
"symfony/twig-bundle": "~2.3"
},
"suggest": {
"doctrine/orm": "~2.2",