Fix NPEs in unit tests

- The next problem will be that WQS doesn't compile anymore!

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@42245 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Dave Ward
2012-10-02 03:35:09 +00:00
parent 96cb337018
commit 4550f97fc9
3 changed files with 18 additions and 3 deletions

View File

@@ -156,7 +156,7 @@ public class RoutingContentStoreTest extends AbstractWritableContentStoreTest
{
this.stores.add(store);
}
SimpleCache<Pair<String,String>, ContentStore> cache = new DefaultSimpleCache<Pair<String,String>, ContentStore>();
SimpleCache<Pair<String,String>, ContentStore> cache = new DefaultSimpleCache<Pair<String,String>, ContentStore>(11, getClass().getName());
super.setStoresCache(cache);
}