File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/repository Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 105105import org .apache .jackrabbit .oak .plugins .memory .EmptyNodeState ;
106106import org .apache .jackrabbit .oak .plugins .observation .CommitRateLimiter ;
107107import org .apache .jackrabbit .oak .plugins .tree .factories .RootFactory ;
108+ import org .apache .jackrabbit .oak .plugins .tree .impl .RootProviderService ;
108109import org .apache .jackrabbit .oak .spi .nodetype .NodeTypeConstants ;
109110import org .apache .jackrabbit .oak .spi .security .SecurityProvider ;
110111import org .apache .jackrabbit .oak .stats .NoopStats ;
@@ -2349,7 +2350,7 @@ protected void append(ILoggingEvent e) {
23492350 @ Test
23502351 public void testConsistencyOfNameConversion () throws RepositoryException {
23512352 NamespaceRegistry namespaceRegistry = getAdminSession ().getWorkspace ().getNamespaceRegistry ();
2352- Root root = RootFactory .createReadOnlyRoot (EmptyNodeState .EMPTY_NODE );
2353+ Root root = new RootProviderService () .createReadOnlyRoot (EmptyNodeState .EMPTY_NODE );
23532354
23542355 SessionDelegate sessionDelegateMock = mock (SessionDelegate .class );
23552356 when (sessionDelegateMock .getSessionStats ()).thenReturn (mock (SessionStats .class ));
You can’t perform that action at this time.
0 commit comments