| | |
| | | package com.ruoyi.goods; |
| | | |
| | | import com.ruoyi.goods.service.activity.ActivityService; |
| | | import org.junit.runner.RunWith; |
| | | import org.springframework.boot.test.context.SpringBootTest; |
| | | import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | /** |
| | | * @ClassName goodsTest |
| | | * @Description TODO |
| | | * @Author jqs |
| | | * @Date 2023/8/30 17:09 |
| | | * @Version 1.0 |
| | | */ |
| | | @RunWith(SpringJUnit4ClassRunner.class) |
| | | @SpringBootTest(classes = RuoYiGoodsApplication.class) |
| | | public class goodsTest { |
| | | |
| | | |
| | | |
| | | @Resource |
| | | private ActivityService activityService; |
| | | |
| | | /*@Test |
| | | public void main() { |
| | | activityService.startActivity("5bc8775388954f4182826b9b02ae8983"); |
| | | |
| | | }*/ |
| | | } |
| | | //package com.ruoyi.goods; |
| | | // |
| | | //import com.ruoyi.goods.service.activity.ActivityService; |
| | | //import org.junit.runner.RunWith; |
| | | //import org.springframework.boot.test.context.SpringBootTest; |
| | | //import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; |
| | | // |
| | | //import javax.annotation.Resource; |
| | | // |
| | | ///** |
| | | // * @ClassName goodsTest |
| | | // * @Description TODO |
| | | // * @Author jqs |
| | | // * @Date 2023/8/30 17:09 |
| | | // * @Version 1.0 |
| | | // */ |
| | | //@RunWith(SpringJUnit4ClassRunner.class) |
| | | //@SpringBootTest(classes = RuoYiGoodsApplication.class) |
| | | //public class goodsTest { |
| | | // |
| | | // |
| | | // |
| | | // @Resource |
| | | // private ActivityService activityService; |
| | | // |
| | | // /*@Test |
| | | // public void main() { |
| | | // activityService.startActivity("5bc8775388954f4182826b9b02ae8983"); |
| | | // |
| | | // }*/ |
| | | //} |