package cn.reghao.devops.web.admin;

import cn.reghao.devops.web.WebApplication;
import cn.reghao.devops.web.admin.sys.db.repository.EmailAccountRepository;
import cn.reghao.devops.web.admin.sys.db.repository.NotifyReceiverRepository;
import cn.reghao.devops.web.admin.sys.service.NotifyService;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.ActiveProfiles;
import org.springframework.test.context.junit4.SpringRunner;

/**
 * @author reghao
 * @date 2024-08-03 10:27:07
 */
@Slf4j
@ActiveProfiles("dev")
@SpringBootTest(classes = WebApplication.class)
@RunWith(SpringRunner.class)
public class MessageTest {
    @Autowired
    NotifyReceiverRepository notifyReceiverRepository;
    @Autowired
    EmailAccountRepository emailAccountRepository;
    @Autowired
    NotifyService notifyService;

    @Test
    public void notifyTest() throws InterruptedException {
    }
}
