POLYGENE-153 Fix SQL library tests

Project: http://git-wip-us.apache.org/repos/asf/polygene-java/repo
Commit: http://git-wip-us.apache.org/repos/asf/polygene-java/commit/03324c60
Tree: http://git-wip-us.apache.org/repos/asf/polygene-java/tree/03324c60
Diff: http://git-wip-us.apache.org/repos/asf/polygene-java/diff/03324c60

Branch: refs/heads/develop
Commit: 03324c6045a501fe98e32d14de7bcc0b8656cba1
Parents: 282960e
Author: Paul Merlin <[email protected]>
Authored: Mon Feb 27 15:35:05 2017 +0100
Committer: Paul Merlin <[email protected]>
Committed: Sun Apr 2 19:16:23 2017 +0200

----------------------------------------------------------------------
 .../sql/jmx/DataSourceConfigurationManagerServiceTest.java        | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/polygene-java/blob/03324c60/libraries/sql/src/test/java/org/apache/polygene/library/sql/jmx/DataSourceConfigurationManagerServiceTest.java
----------------------------------------------------------------------
diff --git 
a/libraries/sql/src/test/java/org/apache/polygene/library/sql/jmx/DataSourceConfigurationManagerServiceTest.java
 
b/libraries/sql/src/test/java/org/apache/polygene/library/sql/jmx/DataSourceConfigurationManagerServiceTest.java
index fc2a922..882df7a 100644
--- 
a/libraries/sql/src/test/java/org/apache/polygene/library/sql/jmx/DataSourceConfigurationManagerServiceTest.java
+++ 
b/libraries/sql/src/test/java/org/apache/polygene/library/sql/jmx/DataSourceConfigurationManagerServiceTest.java
@@ -82,6 +82,7 @@ public class DataSourceConfigurationManagerServiceTest
                 // Set up DataSource service that will manage the connection 
pools
                 new DBCPDataSourceServiceAssembler().identifiedBy( 
"datasource-service" )
                                                     .visibleIn( 
Visibility.layer )
+                                                    .withConfig( module, 
Visibility.layer )
                                                     .assemble( module );
 
                 {
@@ -96,6 +97,7 @@ public class DataSourceConfigurationManagerServiceTest
 
                     // Set up Liquibase service that will create the tables
                     new LiquibaseAssembler().identifiedBy( "liquibase1" )
+                                            .withConfig( testModule, 
Visibility.module )
                                             .applyChangelogOnStartup()
                                             .assemble( testModule );
                     testModule.forMixin( LiquibaseConfiguration.class 
).declareDefaults()
@@ -115,6 +117,7 @@ public class DataSourceConfigurationManagerServiceTest
 
                     // Set up Liquibase service that will create the tables
                     new LiquibaseAssembler().identifiedBy( "liquibase2" )
+                                            .withConfig( testModule2, 
Visibility.module )
                                             .applyChangelogOnStartup()
                                             .assemble( testModule2 );
                     testModule2.forMixin( LiquibaseConfiguration.class 
).declareDefaults()

Reply via email to