mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-06-16 17:55:15 +00:00
More ProjectSpace cleanup and fix test failure
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9671 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
parent
cdd69a3879
commit
5c34653299
@ -61,7 +61,4 @@ public interface ApplicationModel
|
||||
// feed source aspect
|
||||
static final QName ASPECT_FEEDSOURCE = QName.createQName(NamespaceService.APP_MODEL_1_0_URI, "feedsource");
|
||||
static final QName PROP_FEEDTEMPLATE = QName.createQName(NamespaceService.APP_MODEL_1_0_URI, "template");
|
||||
|
||||
// project space
|
||||
static final QName TYPE_PROJECTSPACE = QName.createQName(NamespaceService.APP_MODEL_1_0_URI, "projectfolder");
|
||||
}
|
||||
|
@ -29,7 +29,7 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.alfresco.error.AlfrescoRuntimeException;
|
||||
import org.alfresco.model.ApplicationModel;
|
||||
import org.alfresco.model.ForumModel;
|
||||
import org.alfresco.model.ContentModel;
|
||||
import org.alfresco.repo.jscript.ClasspathScriptLocation;
|
||||
import org.alfresco.repo.security.authentication.AuthenticationComponent;
|
||||
@ -369,13 +369,13 @@ public class SiteServiceImplTest extends BaseAlfrescoSpringTest
|
||||
assertNotNull(container6);
|
||||
assertTrue(container5.equals(container6));
|
||||
assertEquals(ContentModel.TYPE_FOLDER, nodeService.getType(container6));
|
||||
NodeRef container7 = this.siteService.getContainer(siteInfo.getShortName(), "folder.component3", ApplicationModel.TYPE_PROJECTSPACE);
|
||||
NodeRef container7 = this.siteService.getContainer(siteInfo.getShortName(), "folder.component3", ForumModel.TYPE_FORUM);
|
||||
assertNotNull(container7);
|
||||
assertTrue(container5.equals(container7));
|
||||
assertEquals(ContentModel.TYPE_FOLDER, nodeService.getType(container7));
|
||||
NodeRef container8 = this.siteService.getContainer(siteInfo.getShortName(), "folder.component4", ApplicationModel.TYPE_PROJECTSPACE);
|
||||
NodeRef container8 = this.siteService.getContainer(siteInfo.getShortName(), "folder.component4", ForumModel.TYPE_FORUM);
|
||||
assertNotNull(container8);
|
||||
assertEquals(ApplicationModel.TYPE_PROJECTSPACE, nodeService.getType(container8));
|
||||
assertEquals(ForumModel.TYPE_FORUM, nodeService.getType(container8));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user