BAEL-17945 Fix the integrations tests in libraries (#7880)

-Fixing serenity tests failing due to mismatching libraries
This commit is contained in:
Dhawal Kapil 2019-09-27 20:16:06 +05:30 committed by Josh Cummings
parent eb6ced2100
commit ceba5408ec
6 changed files with 15 additions and 9 deletions

View File

@ -43,6 +43,12 @@
<artifactId>serenity-rest-assured</artifactId>
<version>${serenity.version}</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>io.rest-assured</groupId>
<artifactId>rest-assured</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>net.serenity-bdd</groupId>
@ -162,15 +168,15 @@
</build>
<properties>
<serenity.version>1.9.26</serenity.version>
<serenity.jbehave.version>1.41.0</serenity.jbehave.version>
<serenity.version>1.9.9</serenity.version>
<serenity.jbehave.version>1.9.0</serenity.jbehave.version>
<serenity.jira.version>1.9.0</serenity.jira.version>
<serenity.plugin.version>1.9.27</serenity.plugin.version>
<jsonassert.version>1.5.0</jsonassert.version>
<awaitility.version>3.0.0</awaitility.version>
<hoverfly-java.version>0.8.1</hoverfly-java.version>
<spring.version>4.3.8.RELEASE</spring.version>
<spring-mock-mvc.version>3.0.3</spring-mock-mvc.version>
<spring-mock-mvc.version>4.1.1</spring-mock-mvc.version>
<assertj.version>3.6.2</assertj.version>
<java-hamcrest.version>2.0.0.0</java-hamcrest.version>

View File

@ -1,4 +1,4 @@
package org.baeldung.hamcrest;
package com.baeldung.hamcrest;
public class Animal {
String name;

View File

@ -1,4 +1,4 @@
package org.baeldung.hamcrest;
package com.baeldung.hamcrest;
public class Cat extends Animal {

View File

@ -1,10 +1,10 @@
package org.baeldung.hamcrest;
package com.baeldung.hamcrest;
import org.junit.Test;
import java.util.*;
import static org.baeldung.hamcrest.IsPositiveInteger.isAPositiveInteger;
import static com.baeldung.hamcrest.IsPositiveInteger.isAPositiveInteger;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.*;
import static org.hamcrest.beans.HasProperty.hasProperty;

View File

@ -1,4 +1,4 @@
package org.baeldung.hamcrest;
package com.baeldung.hamcrest;
import org.hamcrest.Description;
import org.hamcrest.Factory;

View File

@ -1,4 +1,4 @@
package org.baeldung.hamcrest;
package com.baeldung.hamcrest;
public class Person {
String name;