From a0af210fe96cd119b187079728a0e9695d583075 Mon Sep 17 00:00:00 2001 From: Cleverson Sacramento Date: Thu, 10 Jul 2014 14:19:13 -0300 Subject: [PATCH] Modificação no nome do arquivod e configuração dos testes --- archetype/html-rest/src/main/resources/archetype-resources/src/test/java/rest/BookmarkRESTTest.java | 2 +- archetype/html-rest/src/main/resources/archetype-resources/src/test/resources/demoiselle.properties | 1 - archetype/html-rest/src/main/resources/archetype-resources/src/test/resources/test.properties | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 archetype/html-rest/src/main/resources/archetype-resources/src/test/resources/demoiselle.properties create mode 100644 archetype/html-rest/src/main/resources/archetype-resources/src/test/resources/test.properties diff --git a/archetype/html-rest/src/main/resources/archetype-resources/src/test/java/rest/BookmarkRESTTest.java b/archetype/html-rest/src/main/resources/archetype-resources/src/test/java/rest/BookmarkRESTTest.java index 3c39bf7..87fc078 100644 --- a/archetype/html-rest/src/main/resources/archetype-resources/src/test/java/rest/BookmarkRESTTest.java +++ b/archetype/html-rest/src/main/resources/archetype-resources/src/test/java/rest/BookmarkRESTTest.java @@ -52,7 +52,7 @@ public class BookmarkRESTTest { client = HttpClientBuilder.create().build(); mapper = new ObjectMapper(); - Configuration config = new PropertiesConfiguration("demoiselle.properties"); + Configuration config = new PropertiesConfiguration("test.properties"); url = config.getString("services.url"); } diff --git a/archetype/html-rest/src/main/resources/archetype-resources/src/test/resources/demoiselle.properties b/archetype/html-rest/src/main/resources/archetype-resources/src/test/resources/demoiselle.properties deleted file mode 100644 index 4c729f3..0000000 --- a/archetype/html-rest/src/main/resources/archetype-resources/src/test/resources/demoiselle.properties +++ /dev/null @@ -1 +0,0 @@ -services.url=http://localhost:8080/${artifactId}/api diff --git a/archetype/html-rest/src/main/resources/archetype-resources/src/test/resources/test.properties b/archetype/html-rest/src/main/resources/archetype-resources/src/test/resources/test.properties new file mode 100644 index 0000000..4c729f3 --- /dev/null +++ b/archetype/html-rest/src/main/resources/archetype-resources/src/test/resources/test.properties @@ -0,0 +1 @@ +services.url=http://localhost:8080/${artifactId}/api -- libgit2 0.21.2