Skip to content

Commit

Permalink
Upgrade to cdi-unit 4.x
Browse files Browse the repository at this point in the history
  • Loading branch information
seanf committed Sep 13, 2017
1 parent 25c45d1 commit c81599f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@
<dependency>
<groupId>org.jglue.cdi-unit</groupId>
<artifactId>cdi-unit</artifactId>
<version>3.1.4</version>
<version>4.0.0</version>
<scope>test</scope>
<exclusions>
<exclusion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@

import org.assertj.core.api.SoftAssertions;
import org.jglue.cdiunit.AdditionalClasses;
import org.jglue.cdiunit.CdiRunner;
import org.jglue.cdiunit.deltaspike.SupportDeltaspikeCore;
import org.junit.Before;
import org.junit.Test;
Expand All @@ -33,6 +32,7 @@
import org.zanata.model.HProject;
import org.zanata.model.HProjectIteration;
import org.zanata.security.SecurityFunctions;
import org.zanata.test.CdiUnitRunner;

import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
Expand All @@ -44,7 +44,7 @@
* href="mailto:camunoz@redhat.com">camunoz@redhat.com</a>
*/
@SupportDeltaspikeCore
@RunWith(CdiRunner.class)
@RunWith(CdiUnitRunner.class)
@AdditionalClasses({ PermissionEvaluatorTest.SimpleTestEvaluators.class,
PermissionEvaluatorTest.ComplexTestEvaluators.class})
public class PermissionEvaluatorTest {
Expand Down

0 comments on commit c81599f

Please sign in to comment.