This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository observe. See http://git.codelutin.com/observe.git commit 5eda0387cd3024c01eeba176fb3c30db5dcbc347 Author: Tony CHEMIT <chemit@codelutin.com> Date: Tue Aug 18 12:28:55 2015 +0200 Correction d'un test + optimisation des dépendances --- observe-services-topia/pom.xml | 30 +++++----------------- .../service/ReferentialServiceTopiaTest.java | 2 ++ 2 files changed, 9 insertions(+), 23 deletions(-) diff --git a/observe-services-topia/pom.xml b/observe-services-topia/pom.xml index cdab983..6c297c8 100644 --- a/observe-services-topia/pom.xml +++ b/observe-services-topia/pom.xml @@ -53,22 +53,14 @@ <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </dependency> - <dependency> - <groupId>commons-primitives</groupId> - <artifactId>commons-primitives</artifactId> - </dependency> - <dependency> + <!--dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-collections4</artifactId> </dependency> <dependency> - <groupId>commons-jxpath</groupId> - <artifactId>commons-jxpath</artifactId> - </dependency> - <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> - </dependency> + </dependency--> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> @@ -79,28 +71,20 @@ <groupId>org.nuiton</groupId> <artifactId>nuiton-utils</artifactId> </dependency> - <dependency> - <groupId>org.nuiton</groupId> - <artifactId>nuiton-decorator</artifactId> - </dependency> - <dependency> - <groupId>org.nuiton.i18n</groupId> - <artifactId>nuiton-i18n</artifactId> - </dependency> - + <!-- persistence --> - <dependency> + <!--dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-core</artifactId> - </dependency> + </dependency--> <dependency> <groupId>org.nuiton.topia</groupId> <artifactId>topia-persistence</artifactId> </dependency> - <dependency> + <!--dependency> <groupId>org.nuiton.topia</groupId> <artifactId>topia-service-replication</artifactId> - </dependency> + </dependency--> <!-- Logging --> <dependency> diff --git a/observe-services-topia/src/test/java/fr/ird/observe/services/service/ReferentialServiceTopiaTest.java b/observe-services-topia/src/test/java/fr/ird/observe/services/service/ReferentialServiceTopiaTest.java index 4353ea7..9564a03 100644 --- a/observe-services-topia/src/test/java/fr/ird/observe/services/service/ReferentialServiceTopiaTest.java +++ b/observe-services-topia/src/test/java/fr/ird/observe/services/service/ReferentialServiceTopiaTest.java @@ -4,6 +4,7 @@ import fr.ird.observe.db.DataSource; import fr.ird.observe.entities.migration.H2DataSourceMigration; import fr.ird.observe.services.ObserveServiceContextTopia; import fr.ird.observe.services.ObserveServiceMainFactory; +import fr.ird.observe.services.dto.constants.ReferentialLocale; import fr.ird.observe.services.dto.referential.ReferentialLabelSetDto; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; @@ -42,6 +43,7 @@ public class ReferentialServiceTopiaTest { ObserveServiceContextTopia context = new ObserveServiceContextTopia(); context.setDataSource(localDataSource); + context.setReferentialLocale(ReferentialLocale.FR); ObserveServiceMainFactory serviceFactory = ObserveServiceMainFactory.get(); service = serviceFactory.newService(context, ReferentialService.class); -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@list.forge.codelutin.com>.