|
|
@@ -0,0 +1,39 @@
|
|
|
+import com.sqx.SqxApplication;
|
|
|
+import com.sqx.common.utils.RedisUtils;
|
|
|
+import com.sqx.modules.order.service.AppOrderService;
|
|
|
+import com.sqx.modules.pay.service.WxService;
|
|
|
+import com.sqx.scheduler.order.OrderScheduler;
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
+import org.junit.jupiter.api.Test;
|
|
|
+import org.junit.runner.RunWith;
|
|
|
+import org.springframework.boot.test.context.SpringBootTest;
|
|
|
+import org.springframework.test.context.junit4.SpringRunner;
|
|
|
+
|
|
|
+import javax.annotation.Resource;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @author : codingliang
|
|
|
+ * @date : 2024-09-10 16:24
|
|
|
+ */
|
|
|
+@Slf4j
|
|
|
+@RunWith(SpringRunner.class)
|
|
|
+@SpringBootTest(classes = SqxApplication.class, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
|
|
|
+public class OrderTest {
|
|
|
+
|
|
|
+ @Resource
|
|
|
+ private AppOrderService appOrderService;
|
|
|
+
|
|
|
+ @Resource
|
|
|
+ private OrderScheduler orderScheduler;
|
|
|
+
|
|
|
+ @Resource
|
|
|
+ private WxService wxService;
|
|
|
+
|
|
|
+ @Resource
|
|
|
+ private RedisUtils redisUtils;
|
|
|
+
|
|
|
+ @Test
|
|
|
+ public void test() {
|
|
|
+
|
|
|
+ }
|
|
|
+}
|