Polish contribution

Closes gh-5337
This commit is contained in:
Stephane Nicoll
2016-03-14 14:19:55 +01:00
parent f6a32a1d5a
commit 2526a54e31
76 changed files with 146 additions and 199 deletions

View File

@@ -18,9 +18,8 @@ package sample.web.staticcontent;
import org.junit.Test;
import org.junit.runner.RunWith;
import sample.web.staticcontent.SampleWebStaticApplication;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.web.LocalServerPort;
import org.springframework.boot.test.SpringApplicationConfiguration;
import org.springframework.boot.test.TestRestTemplate;
import org.springframework.boot.test.WebIntegrationTest;
@@ -43,7 +42,7 @@ import static org.assertj.core.api.Assertions.assertThat;
@DirtiesContext
public class SampleWebStaticApplicationTests {
@Value("${local.server.port}")
@LocalServerPort
private int port = 0;
@Test