Commit d80fc452f0f88909751ff091699c7a3d9785fa05
1 parent
2db688aa
test: CDI-Runner temporär entfernt
Showing
2 changed files
with
0 additions
and
12 deletions
pom.xml
@@ -19,7 +19,6 @@ | @@ -19,7 +19,6 @@ | ||
19 | <mockito-version>2.7.22</mockito-version> | 19 | <mockito-version>2.7.22</mockito-version> |
20 | <dbunit-version>2.5.1</dbunit-version> | 20 | <dbunit-version>2.5.1</dbunit-version> |
21 | <slf4j-version>1.7.25</slf4j-version> | 21 | <slf4j-version>1.7.25</slf4j-version> |
22 | - <jglue-version>3.1.4</jglue-version> | ||
23 | <jackson-version>2.8.8.1</jackson-version> | 22 | <jackson-version>2.8.8.1</jackson-version> |
24 | 23 | ||
25 | <!-- Substituiert die Platzhalter in der "persistence.xml" --> | 24 | <!-- Substituiert die Platzhalter in der "persistence.xml" --> |
@@ -81,11 +80,6 @@ | @@ -81,11 +80,6 @@ | ||
81 | <artifactId>mysql-connector-java</artifactId> | 80 | <artifactId>mysql-connector-java</artifactId> |
82 | <version>${mysql-version}</version> | 81 | <version>${mysql-version}</version> |
83 | </dependency> | 82 | </dependency> |
84 | - <dependency> | ||
85 | - <groupId>org.jglue.cdi-unit</groupId> | ||
86 | - <artifactId>cdi-unit</artifactId> | ||
87 | - <version>${jglue-version}</version> | ||
88 | - </dependency> | ||
89 | <!-- dependency> | 83 | <!-- dependency> |
90 | <groupId>com.fasterxml.jackson.core</groupId> | 84 | <groupId>com.fasterxml.jackson.core</groupId> |
91 | <artifactId>jackson-databind</artifactId> | 85 | <artifactId>jackson-databind</artifactId> |
src/test/java/net/ziemers/swxercise/lg/user/service/UserServiceTest.java
@@ -3,17 +3,11 @@ package net.ziemers.swxercise.lg.user.service; | @@ -3,17 +3,11 @@ package net.ziemers.swxercise.lg.user.service; | ||
3 | import javax.inject.Inject; | 3 | import javax.inject.Inject; |
4 | 4 | ||
5 | import net.ziemers.swxercise.db.utils.JpaTestUtils; | 5 | import net.ziemers.swxercise.db.utils.JpaTestUtils; |
6 | -import net.ziemers.swxercise.lg.model.user.User; | ||
7 | import net.ziemers.swxercise.lg.user.dto.UserDto; | 6 | import net.ziemers.swxercise.lg.user.dto.UserDto; |
8 | -import net.ziemers.swxercise.lg.user.service.UserService; | ||
9 | 7 | ||
10 | -import org.jglue.cdiunit.CdiRunner; | ||
11 | import org.junit.Before; | 8 | import org.junit.Before; |
12 | import org.junit.Test; | 9 | import org.junit.Test; |
13 | -import org.junit.runner.RunWith; | ||
14 | -import org.mockito.Mock; | ||
15 | 10 | ||
16 | -@RunWith(CdiRunner.class) | ||
17 | public class UserServiceTest extends JpaTestUtils { | 11 | public class UserServiceTest extends JpaTestUtils { |
18 | 12 | ||
19 | private static boolean dbInitialized; | 13 | private static boolean dbInitialized; |