Skip to content

Commit

Permalink
[BAPL-1336] Exclude transitive dep and remove unused code in tests
Browse files Browse the repository at this point in the history
Signed-off-by: Ruben Romero Montes <rromerom@redhat.com>
  • Loading branch information
ruromero committed Aug 14, 2019
1 parent 707a980 commit 655d9fd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions process-migration-service/pom.xml
Expand Up @@ -186,6 +186,12 @@
<groupId>org.kie</groupId>
<artifactId>kie-test-util</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>narayana-jta</artifactId>
<groupId>org.jboss.narayana.jta</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.jboss.weld</groupId>
Expand Down
Expand Up @@ -88,7 +88,6 @@ public KieServicesConfiguration answer(InvocationOnMock invocation) {
countDownLatch.await();

PowerMockito.verifyStatic(KieServicesFactory.class, Mockito.times(2));
KieServicesFactory.newRestConfiguration(Mockito.anyString(), Mockito.any(CredentialsProvider.class));
Collection<KieServerConfig> configs = kieService.getConfigs();
Assert.assertNotNull(configs);
Assert.assertEquals(1, configs.size());
Expand Down

0 comments on commit 655d9fd

Please sign in to comment.