@WebApplication->@WebAppConfiguration

Fixed gh-746
This commit is contained in:
Dave Syer 2014-04-29 15:26:37 +01:00 committed by Phillip Webb
parent 33499e3d81
commit f81c01d490
2 changed files with 2 additions and 2 deletions

View File

@ -371,7 +371,7 @@ and then inject the actual (``local'') port as a `@Value`. For example:
---- ----
@RunWith(SpringJUnit4ClassRunner.class) @RunWith(SpringJUnit4ClassRunner.class)
@SpringApplicationConfiguration(classes = SampleDataJpaApplication.class) @SpringApplicationConfiguration(classes = SampleDataJpaApplication.class)
@WebApplication @WebAppConfiguration
@IntegrationTest("server.port:0") @IntegrationTest("server.port:0")
public class CityRepositoryIntegrationTests { public class CityRepositoryIntegrationTests {

View File

@ -1558,7 +1558,7 @@ interaction. For Example:
---- ----
@RunWith(SpringJUnit4ClassRunner.class) @RunWith(SpringJUnit4ClassRunner.class)
@SpringApplicationConfiguration(classes = SampleDataJpaApplication.class) @SpringApplicationConfiguration(classes = SampleDataJpaApplication.class)
@WebApplication @WebAppConfiguration
@IntegrationTest @IntegrationTest
public class CityRepositoryIntegrationTests { public class CityRepositoryIntegrationTests {