|
|
@@ -2,6 +2,7 @@ package com.uas.platform.b2c.common.base;
|
|
|
|
|
|
import com.uas.message.mail.service.MailService;
|
|
|
import com.uas.message.sms.service.SmsService;
|
|
|
+import com.uas.platform.b2c.BaseJunitTest;
|
|
|
import org.junit.Test;
|
|
|
import org.junit.runner.RunWith;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
@@ -15,11 +16,7 @@ import java.util.HashSet;
|
|
|
import java.util.Map;
|
|
|
import java.util.Set;
|
|
|
|
|
|
-@RunWith(SpringJUnit4ClassRunner.class)
|
|
|
-@ContextConfiguration("classpath:spring/context.xml")
|
|
|
-@Transactional
|
|
|
-@TransactionConfiguration(defaultRollback = true)
|
|
|
-public class RestSmsService {
|
|
|
+public class RestSmsService extends BaseJunitTest {
|
|
|
|
|
|
@Autowired
|
|
|
private SmsService smsService;
|