Upgraded to use a non-deprecated factory constructor

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15334 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Manik Surtani 2008-10-13 09:24:31 +00:00
parent 7f58da9351
commit 1d919d9d53
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ public abstract class AbstractRegionImplTestCase extends AbstractJBossCacheTestC
public void testActivationDeactivation() throws Exception {
// Set up a cache to monitor affects of starting the region
Cache remoteCache = DefaultCacheFactory.getInstance().createCache(SharedCacheInstanceManager.DEFAULT_CACHE_RESOURCE, false);
Cache remoteCache = new DefaultCacheFactory().createCache(SharedCacheInstanceManager.DEFAULT_CACHE_RESOURCE, false);
// This test assumes replication; verify that's correct
assertEquals("Cache is REPL_SYNC", "REPL_SYNC", remoteCache.getConfiguration().getCacheModeString());