Add tests to make sure KnpPaginator plays nice
This commit is contained in:
parent
949ea6963f
commit
3ae382c933
|
@ -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(),
|
||||
);
|
||||
|
|
|
@ -1,6 +1,13 @@
|
|||
imports:
|
||||
- { resource: ./../config/config.yml }
|
||||
|
||||
framework:
|
||||
templating:
|
||||
engines: ['twig']
|
||||
|
||||
twig:
|
||||
debug: %kernel.debug%
|
||||
|
||||
fos_elastica:
|
||||
clients:
|
||||
default:
|
||||
|
|
|
@ -5,4 +5,4 @@ framework:
|
|||
default_locale: en
|
||||
|
||||
services:
|
||||
logger: { class: Symfony\Component\HttpKernel\Log\NullLogger }
|
||||
logger: { class: Symfony\Component\HttpKernel\Log\NullLogger }
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue