commit
5bc6d91258
@ -0,0 +1,30 @@
|
||||
package au.com.royalpay.payment.manage.merchants.core.impls;
|
||||
|
||||
import au.com.royalpay.payment.manage.mappers.system.ManagerMapper;
|
||||
import au.com.royalpay.payment.manage.merchants.core.MerchantChannelPermissionService;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.test.context.ActiveProfiles;
|
||||
import org.springframework.test.context.junit4.SpringRunner;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest
|
||||
@ActiveProfiles({"proxy","common", "alipay", "wechat", "rpay", "rppaysvc"})
|
||||
public class MerchantChannelPermissionServiceImplTest {
|
||||
|
||||
@Resource
|
||||
private MerchantChannelPermissionService merchantChannelPermissionService;
|
||||
|
||||
@Resource
|
||||
private ManagerMapper managerMapper;
|
||||
|
||||
@Test
|
||||
public void test() {
|
||||
JSONObject manager = managerMapper.findByLoginId("yixian");
|
||||
merchantChannelPermissionService.copyMerchantWarriorConfig(manager, "DV11", "DV02");
|
||||
}
|
||||
}
|
Loading…
Reference in new issue