File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
integration-test/src/test/java/org/cloudfoundry/logcache/v1 Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change 2929import org .cloudfoundry .ApplicationUtils ;
3030import org .cloudfoundry .CloudFoundryVersion ;
3131import org .cloudfoundry .IfCloudFoundryVersion ;
32+ import org .junit .jupiter .api .BeforeEach ;
3233import org .junit .jupiter .api .Disabled ;
3334import org .junit .jupiter .api .Test ;
34- import org .springframework .beans .factory .InitializingBean ;
3535import org .springframework .beans .factory .annotation .Autowired ;
3636import reactor .core .publisher .Mono ;
3737import reactor .test .StepVerifier ;
3838
3939@ IfCloudFoundryVersion (greaterThanOrEqualTo = CloudFoundryVersion .PCF_2_9 )
40- public class LogCacheTest extends AbstractIntegrationTest implements InitializingBean {
40+ public class LogCacheTest extends AbstractIntegrationTest {
4141
4242 @ Autowired LogCacheClient logCacheClient ;
4343
44-
45- @ Autowired private Mono <ApplicationUtils .ApplicationMetadata > testLogCacheApp ;
46-
4744 private ApplicationUtils .ApplicationMetadata testLogCacheAppMetadata ;
4845
4946 @ Autowired private TestLogCacheEndpoints testLogCacheEndpoints ;
5047
5148 private final Random random = new SecureRandom ();
5249
53- @ Override
54- public void afterPropertiesSet ( ) {
55- this .testLogCacheAppMetadata = this . testLogCacheApp .block ();
50+ @ BeforeEach
51+ void setUp ( @ Autowired Mono < ApplicationUtils . ApplicationMetadata > testLogCacheApp ) {
52+ this .testLogCacheAppMetadata = testLogCacheApp .block ();
5653 }
5754
5855 @ Test
You can’t perform that action at this time.
0 commit comments