modified the test cases and added integration test

parent 52e686a4
...@@ -53,6 +53,9 @@ dependencies { ...@@ -53,6 +53,9 @@ dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.3.1' testImplementation 'org.junit.jupiter:junit-jupiter-api:5.3.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.3.1' testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.3.1'
compile 'com.h2database:h2:1.3.156' compile 'com.h2database:h2:1.3.156'
// https://mvnrepository.com/artifact/io.rest-assured/rest-assured
testCompile group: 'io.rest-assured', name: 'rest-assured', version: '4.3.0'
//compile 'org.hamcrest:hamcrest-all:2.1'
} }
......
...@@ -18,7 +18,7 @@ public class OfferTransactionControllerIntegrationTest { ...@@ -18,7 +18,7 @@ public class OfferTransactionControllerIntegrationTest {
@BeforeEach @BeforeEach
public void setup() { public void setup() {
RestAssured.baseURI = "http:localhost"; RestAssured.baseURI = "http://localhost";
RestAssured.port = 7072; RestAssured.port = 7072;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment