[Registry-dev] svn commit r11823 - trunk/registry/modules/core/src/test/java/org/wso2/registry/app

svn at wso2.org svn at wso2.org
Thu Jan 3 20:59:22 PST 2008


Author: deepal
Date: Thu Jan  3 20:59:15 2008
New Revision: 11823

Log:

fixing NPE due to secureregistry in Atom registry 

Modified:
   trunk/registry/modules/core/src/test/java/org/wso2/registry/app/APPTests.java

Modified: trunk/registry/modules/core/src/test/java/org/wso2/registry/app/APPTests.java
==============================================================================
--- trunk/registry/modules/core/src/test/java/org/wso2/registry/app/APPTests.java	(original)
+++ trunk/registry/modules/core/src/test/java/org/wso2/registry/app/APPTests.java	Thu Jan  3 20:59:15 2008
@@ -78,6 +78,7 @@
                     //jdbcRegistry = new JDBCRegistry();
                     //jdbcRegistry.init(registryRealm);
                     System.getProperties().put(RegistryConstants.REGISTRY, jdbcRegistry);
+                    System.getProperties().put(RegistryConstants.REGISTRY_REALM, new InMemoryRegistryRealm());
                 } catch (RegistryException e) {
                     e.printStackTrace();
                 }



More information about the Registry-dev mailing list