public class RuleDataMediumTest {
@ClassRule
- public static ServerTester tester = new ServerTester()
- .setProperty("sonar.es.http.port","9200");
+ public static ServerTester tester = new ServerTester();
RuleDao dao = tester.get(RuleDao.class);
RuleIndex index = tester.get(RuleIndex.class);
public class RuleIndexMediumTest {
@ClassRule
- public static ServerTester tester = new ServerTester()
- .setProperty("sonar.es.http.port","9200");
+ public static ServerTester tester = new ServerTester();
MyBatis myBatis = tester.get(MyBatis.class);
RuleDao dao = tester.get(RuleDao.class);
public class RulesWebServiceTest {
@ClassRule
- public static ServerTester tester = new ServerTester()
- .setProperty("sonar.es.http.port","9200");
+ public static ServerTester tester = new ServerTester();
private RulesWebService ws;