From 18b1342c579a62ec7b981636d63cd9d2e8f87925 Mon Sep 17 00:00:00 2001 From: Jan Vonka Date: Wed, 4 Mar 2009 10:11:52 +0000 Subject: [PATCH] Build/test fix (MultiTDemoTest) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13463 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../java/org/alfresco/repo/tenant/MultiTDemoTest.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/java/org/alfresco/repo/tenant/MultiTDemoTest.java b/source/java/org/alfresco/repo/tenant/MultiTDemoTest.java index 032c44be6a..cfe748787d 100644 --- a/source/java/org/alfresco/repo/tenant/MultiTDemoTest.java +++ b/source/java/org/alfresco/repo/tenant/MultiTDemoTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005-2008 Alfresco Software Limited. + * Copyright (C) 2005-2009 Alfresco Software Limited. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -115,7 +115,7 @@ public class MultiTDemoTest extends TestCase public static final String TEST_USER3 = "eve"; public static final String TEST_USER4 = "fred"; - private static final int DEFAULT_DM_STORE_COUNT = 6; + private static final int DEFAULT_STORE_COUNT = 7; // including siteStore public static StoreRef SPACES_STORE = new StoreRef(StoreRef.PROTOCOL_WORKSPACE, "SpacesStore"); @@ -509,7 +509,7 @@ public class MultiTDemoTest extends TestCase { public Object doWork() throws Exception { - assertTrue("System: ", (nodeService.getStores().size() >= (DEFAULT_DM_STORE_COUNT * (tenants.size()+1)))); + assertTrue("System: ", (nodeService.getStores().size() >= (DEFAULT_STORE_COUNT * (tenants.size()+1)))); return null; } }, AuthenticationUtil.getSystemUserName()); @@ -519,7 +519,7 @@ public class MultiTDemoTest extends TestCase { public Object doWork() throws Exception { - assertTrue("Super admin: ", (nodeService.getStores().size() >= DEFAULT_DM_STORE_COUNT)); + assertTrue("Super admin: ", (nodeService.getStores().size() >= DEFAULT_STORE_COUNT)); return null; } }, DEFAULT_ADMIN_UN); @@ -532,7 +532,7 @@ public class MultiTDemoTest extends TestCase { public Object doWork() throws Exception { - assertEquals("Tenant: "+tenantDomain, DEFAULT_DM_STORE_COUNT, nodeService.getStores().size()); + assertEquals("Tenant: "+tenantDomain, DEFAULT_STORE_COUNT, nodeService.getStores().size()); return null; }