12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- package com.qs.mp.service;
- import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
- import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
- import com.qs.mp.MpApplication;
- import com.qs.mp.channel.domain.Channel;
- import com.qs.mp.channel.service.IChannelService;
- import org.junit.jupiter.api.Test;
- import org.springframework.beans.factory.annotation.Autowired;
- import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;
- import org.springframework.boot.test.context.SpringBootTest;
- import org.springframework.test.context.ActiveProfiles;
- import org.springframework.test.context.TestPropertySource;
- @AutoConfigureMockMvc
- @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, classes = MpApplication.class)
- @TestPropertySource(locations = "classpath:application-dev.yml")
- @ActiveProfiles("dev")
- public class ChannelServiceTest {
- @Autowired
- private IChannelService channelService;
- @Test
- public void testListChannel() {
- Channel channel = new Channel();
- }
-
- @Test
- public void testAddChannel() {
- Channel channel = new Channel();
- }
-
-
- @Test
- public void testEditChannel() {
- Channel channel = new Channel();
- }
-
-
- }
|