package io.traintracker.app;

import org.assertj.core.api.Assertions;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.context.ApplicationContext;
import org.springframework.test.context.junit4.SpringRunner;

@SpringBootTest
@RunWith(SpringRunner.class)
public class TrainTrackerApplicationTests {

	@Autowired
	private ApplicationContext context;

	@Test
	public void contextLoads() {
		Assertions.assertThat(this.context.getBean(TrainTrackerApplication.class)).isNotNull();
	}

}

package io.traintracker.app;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

@RunWith(SpringRunner.class)
@SpringBootTest
public class TrainTrackerApplicationTests {

	@Test
	public void contextLoads() {
	}

}

Simplify app integration test