@RunWith(SpringRunner.class)
@SpringBootTest(classes = ApplicationTest.class, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
@ActiveProfiles("test")
public abstract class IntegrationTest {
@Value("${local.server.port}")
<BUG>int port;
@Autowired</BUG>
protected UserRepository userRepository;
protected User user;
protected final String userCleartextPassword = "password";

@RunWith(SpringRunner.class)
@SpringBootTest(classes = ApplicationTest.class, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
@ActiveProfiles("test")
public abstract class IntegrationTest {
@Value("${local.server.port}")
int port;
Calendar calendar;
@Autowired
protected UserRepository userRepository;
protected User user;
protected final String userCleartextPassword = "password";
