juddi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexo...@apache.org
Subject svn commit: r1559463 - /juddi/trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_030_BusinessEntityTest.java
Date Sun, 19 Jan 2014 03:44:47 GMT
Author: alexoree
Date: Sun Jan 19 03:44:47 2014
New Revision: 1559463

URL: http://svn.apache.org/r1559463
Log:
JUDDI-794 fixing the test case, user Joe is an 'admin'

Modified:
    juddi/trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_030_BusinessEntityTest.java

Modified: juddi/trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_030_BusinessEntityTest.java
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_030_BusinessEntityTest.java?rev=1559463&r1=1559462&r2=1559463&view=diff
==============================================================================
--- juddi/trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_030_BusinessEntityTest.java
(original)
+++ juddi/trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_030_BusinessEntityTest.java
Sun Jan 19 03:44:47 2014
@@ -136,9 +136,9 @@ public class API_030_BusinessEntityTest 
                 UDDIPublicationImplExt pubRemoteNode = new UDDIPublicationImplExt(new MockWebServiceContext(null));
                 UDDIPublicationImpl pubLocalNode = new UDDIPublicationImpl();
                 UDDISecurityPortType security = new UDDISecurityImpl();
-                authInfoJoe = TckSecurity.getAuthToken(security, TckPublisher.getJoePublisherId(),
TckPublisher.getJoePassword());
+                authInfoSam = TckSecurity.getAuthToken(security, TckPublisher.getSamPublisherId(),
TckPublisher.getSamPassword());
                 SaveBusiness sb = new SaveBusiness();
-                sb.setAuthInfo(authInfoJoe);
+                sb.setAuthInfo(authInfoSam);
                 BusinessEntity be = new BusinessEntity();
                 be.getName().add(new Name("testJIRA727", "en"));
                 String node = "testJIRA727Node" + UUID.randomUUID().toString();
@@ -146,7 +146,7 @@ public class API_030_BusinessEntityTest 
                 BusinessDetail saveBusinessFudge = pubRemoteNode.saveBusinessFudge(sb, node);
 
                 sb = new SaveBusiness();
-                sb.setAuthInfo(authInfoJoe);
+                sb.setAuthInfo(authInfoSam);
                 sb.getBusinessEntity().add(saveBusinessFudge.getBusinessEntity().get(0));
                 try {
                         saveBusinessFudge = pubLocalNode.saveBusiness(sb);



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@juddi.apache.org
For additional commands, e-mail: commits-help@juddi.apache.org


Mime
View raw message