peng
4 小时以前 61c5deee6619789d3a2711684ea14cc51b061cdf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package cn.lili.buyer.test.cart;
 
import cn.lili.modules.promotion.service.MemberCouponService;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit.jupiter.SpringExtension;
 
import static org.junit.jupiter.api.Assertions.assertTrue;
 
/**
 * @author paulG
 * @since 2020/11/27
 **/
@ExtendWith(SpringExtension.class)
@SpringBootTest
class MemberCouponTest {
 
    @Autowired
    private MemberCouponService memberCouponService;
 
    @Test
    void receiveCoupon() {
        memberCouponService.receiveCoupon("1333318596239843328", "1326834797335306240", "1");
        assertTrue(true);
    }
 
 
}