Spring testing service with mocked repository

I have some mongo repositories which I want to mock in my unit tests. I managed to get this running with my controllers using the following annotations:

@RunWith(SpringRunner.class)
@Import(TestConfig.class)
@WebMvcTest(controllers = TemplatesController.class, excludeAutoConfiguration = EmbeddedMongoAutoConfiguration.class)
public class TemplatesControllerTest {

    @Autowired
    private MockMvc mockMvc;

    @MockBean
    private TemplateRepository repository;
}

Now I also want to test a service, but there I can't get it working on the CI environment. What am I missing, this are my current annotations:

@RunWith(SpringRunner.class)
@Import(TestConfig.class)
@SpringBootTest
@TestPropertySource(properties = "spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.mongo.embedded.EmbeddedMongoAutoConfiguration")
public class UserServiceTest {

    @Autowired
    private UserService userService;

    @MockBean
    private UserRepository userRepository;
}

Locally this works as I have a mongoDB running on the default port. But our Bamboo server of course doesn't have a mongoDB instance running. I thought with the @TestPropertySource I can achieve the same as with the excludeAutoConfiguration of the @WebMvcTest.