[jboss-cvs] JBossAS SVN: r68137 - trunk/testsuite/src/main/org/jboss/test/profileservice/test.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Dec 11 08:22:20 EST 2007


Author: alex.loubyansky at jboss.com
Date: 2007-12-11 08:22:20 -0500 (Tue, 11 Dec 2007)
New Revision: 68137

Modified:
   trunk/testsuite/src/main/org/jboss/test/profileservice/test/ProfileServiceUnitTestCase.java
Log:
adjustment to the latest changes in DsDataSourceTemplateInfo

Modified: trunk/testsuite/src/main/org/jboss/test/profileservice/test/ProfileServiceUnitTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/profileservice/test/ProfileServiceUnitTestCase.java	2007-12-11 13:19:15 UTC (rev 68136)
+++ trunk/testsuite/src/main/org/jboss/test/profileservice/test/ProfileServiceUnitTestCase.java	2007-12-11 13:22:20 UTC (rev 68137)
@@ -403,13 +403,11 @@
    public void testAddXADataSource() throws Exception
    {
       ManagementView mgtView = getManagementView();
-      DeploymentTemplateInfo dsInfo = mgtView.getTemplate("DsDataSourceTemplate");
+      DeploymentTemplateInfo dsInfo = mgtView.getTemplate("XADataSourceTemplate");
       Map<String, ManagedProperty> props = dsInfo.getProperties();
 
       ManagedProperty jndiName = props.get("jndi-name");
       jndiName.setValue("TestHqldbXADS");
-      ManagedProperty dsType = props.get("datasource-type");
-      dsType.setValue("xa-datasource");
 
       ManagedProperty driverClass = props.get("xa-datasource-class");
       driverClass.setValue("org.hsqldb.jdbcDriver");




More information about the jboss-cvs-commits mailing list