tests compile error fixes

This commit is contained in:
东煌 2020-09-05 09:20:01 +08:00
parent f0c34f5117
commit d136d3089b

View File

@ -1,12 +1,11 @@
package com.pudonghot.yo.campaign; package com.pudonghot.yo.campaign;
import com.pudonghot.yo.campaign.feign.response.RespCallingListWrapper; import lombok.val;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.test.context.SpringBootTest; import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import com.pudonghot.yo.campaign.feign.response.RespCallingList;
import com.pudonghot.yo.campaign.feign.service.FeignCallingListService; import com.pudonghot.yo.campaign.feign.service.FeignCallingListService;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
@ -24,7 +23,7 @@ public class FeignCallingListServiceTest {
@Test @Test
public void testFetchCallingList() { public void testFetchCallingList() {
final RespCallingListWrapper callingList = final val callingList =
callingListService.fetchCallingList(1, "11223", "44556"); callingListService.fetchCallingList(1, "11223", "44556");
log.info("Calling list [{}].", callingList); log.info("Calling list [{}].", callingList);
} }