Add tests to make sure KnpPaginator plays nice
This commit is contained in:
parent
949ea6963f
commit
3ae382c933
|
@ -1,10 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
use FOS\ElasticaBundle\FOSElasticaBundle;
|
use FOS\ElasticaBundle\FOSElasticaBundle;
|
||||||
|
use Knp\Bundle\PaginatorBundle\KnpPaginatorBundle;
|
||||||
use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
|
use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
|
||||||
|
use Symfony\Bundle\TwigBundle\TwigBundle;
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
new FrameworkBundle(),
|
new FrameworkBundle(),
|
||||||
new FOSElasticaBundle(),
|
new FOSElasticaBundle(),
|
||||||
|
new KnpPaginatorBundle(),
|
||||||
);
|
new TwigBundle(),
|
||||||
|
);
|
||||||
|
|
|
@ -1,6 +1,13 @@
|
||||||
imports:
|
imports:
|
||||||
- { resource: ./../config/config.yml }
|
- { resource: ./../config/config.yml }
|
||||||
|
|
||||||
|
framework:
|
||||||
|
templating:
|
||||||
|
engines: ['twig']
|
||||||
|
|
||||||
|
twig:
|
||||||
|
debug: %kernel.debug%
|
||||||
|
|
||||||
fos_elastica:
|
fos_elastica:
|
||||||
clients:
|
clients:
|
||||||
default:
|
default:
|
||||||
|
|
|
@ -5,4 +5,4 @@ framework:
|
||||||
default_locale: en
|
default_locale: en
|
||||||
|
|
||||||
services:
|
services:
|
||||||
logger: { class: Symfony\Component\HttpKernel\Log\NullLogger }
|
logger: { class: Symfony\Component\HttpKernel\Log\NullLogger }
|
||||||
|
|
|
@ -28,8 +28,10 @@
|
||||||
"propel/propel1": "1.6.*",
|
"propel/propel1": "1.6.*",
|
||||||
"pagerfanta/pagerfanta": "1.0.*@dev",
|
"pagerfanta/pagerfanta": "1.0.*@dev",
|
||||||
"knplabs/knp-components": "~1.2",
|
"knplabs/knp-components": "~1.2",
|
||||||
|
"knplabs/knp-paginator-bundle": "~2.4",
|
||||||
"symfony/browser-kit" : "~2.3",
|
"symfony/browser-kit" : "~2.3",
|
||||||
"symfony/expression-language" : "~2.4"
|
"symfony/expression-language" : "~2.4",
|
||||||
|
"symfony/twig-bundle": "~2.3"
|
||||||
},
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
"doctrine/orm": "~2.2",
|
"doctrine/orm": "~2.2",
|
||||||
|
|
Loading…
Reference in a new issue