Uses RA 5.0.2-SNAPSHOT
This commit is contained in:
@@ -25,9 +25,9 @@ import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.boot.test.context.SpringBootTest.WebEnvironment;
|
||||
import org.springframework.boot.web.server.LocalServerPort;
|
||||
import org.springframework.cloud.contract.stubrunner.StubFinder;
|
||||
import org.springframework.cloud.contract.stubrunner.spring.AutoConfigureStubRunner;
|
||||
import org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties;
|
||||
@@ -46,7 +46,7 @@ public class LoanApplicationServiceTests {
|
||||
|
||||
// end::autoconfigure_stubrunner[]
|
||||
|
||||
@LocalServerPort
|
||||
@Value("${local.server.port}")
|
||||
Integer port;
|
||||
|
||||
@Autowired
|
||||
|
||||
Reference in New Issue
Block a user