Skip to content

Commit f576865

Browse files
committed
make tests work with latest phpcr-bundle, adding upgrade file
1 parent 11152d3 commit f576865

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

Tests/Functional/config/parameters.yml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ parameters:
33
#type: jackrabbit
44
#url: http://localhost:8080/server/
55
type: doctrinedbal
6-
connection: doctrine.dbal.default_connection
6+
#connection: default
77
phpcr_workspace: default
88
phpcr_user: admin
99
phpcr_pass: admin

UPGRADE-1.1.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
UPGRADE FROM 1.0 TO 1.1
2+
=======================
3+
4+
Deprecated `RoutingBundle\Document\Route` and `RedirectRoute` in favor of
5+
`RoutingBundle\Doctrine\Phpcr\Route` resp. `RedirectRoute`.
6+
7+
PHPCR specific configurations moved into
8+
9+
dynamic:
10+
phpcr_provider:
11+
use_sonata_admin: auto
12+
manager_registry: ~
13+
manager_name: ~
14+
route_basepath: ~
15+
content_basepath: ~
16+
17+
You need to at least set `phpcr_provider: ~` to have the PHPCR provider loaded.
18+
19+
Dropped redundant unused `routing_repositoryroot` configuration.

0 commit comments

Comments
 (0)