File tree Expand file tree Collapse file tree 7 files changed +11
-7
lines changed Expand file tree Collapse file tree 7 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 13
13
before_script :
14
14
- composer self-update
15
15
- composer require symfony/symfony:${SYMFONY_VERSION} --prefer-source
16
- - vendor/symfony-cmf/testing/bin/travis/phpcr_odm_doctrine_dbal .sh
16
+ - vendor/symfony-cmf/testing/bin/travis/phpcr_odm_doctrine_orm_dbal .sh
17
17
18
18
script : phpunit --coverage-text
19
19
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ class RouteAdminTest extends BaseTestCase
22
22
*/
23
23
private $ errorElement ;
24
24
25
- protected function setUp ()
25
+ public function setUp ()
26
26
{
27
27
parent ::setUp ();
28
28
$ this ->db ('PHPCR ' )->createTestNode ();
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ class DynamicRouterTest extends BaseTestCase
30
30
public function setUp ()
31
31
{
32
32
parent ::setUp ();
33
+
33
34
$ this ->db ('PHPCR ' )->createTestNode ();
34
35
$ this ->createRoute (self ::ROUTE_ROOT );
35
36
Original file line number Diff line number Diff line change @@ -20,6 +20,6 @@ public function configure()
20
20
21
21
public function registerContainerConfiguration (LoaderInterface $ loader )
22
22
{
23
- $ loader ->load (__DIR__ .'/config/config .php ' );
23
+ $ loader ->load (__DIR__ .'/config/config_ ' . $ this -> environment . ' .php ' );
24
24
}
25
25
}
Original file line number Diff line number Diff line change
1
+ cmf_routing :
2
+ dynamic :
3
+ persistence :
4
+ phpcr :
5
+ enabled : true
6
+ route_basepath : /test/routing
Original file line number Diff line number Diff line change @@ -12,10 +12,6 @@ cmf_routing:
12
12
Symfony\Cmf\Bundle\RoutingBundle\Doctrine\Phpcr\RedirectRoute : cmf_routing.redirect_controller:redirectAction
13
13
templates_by_class :
14
14
Symfony\Cmf\Component\Testing\Document\Content : TestBundle:Content:index.html.twig
15
- persistence :
16
- phpcr :
17
- enabled : true
18
- route_basepath : /test/routing
19
15
locales :
20
16
- en
21
17
- de
Original file line number Diff line number Diff line change 4
4
$ loader ->import (CMF_TEST_CONFIG_DIR .'/phpcr_odm.php ' );
5
5
$ loader ->import (CMF_TEST_CONFIG_DIR .'/sonata_admin.php ' );
6
6
$ loader ->import (__DIR__ .'/cmf_routing.yml ' );
7
+ $ loader ->import (__DIR__ .'/cmf_routing.phpcr.yml ' );
You can’t perform that action at this time.
0 commit comments