package cn.reghao.devops.mgr.admin;

import cn.reghao.devops.mgr.MgrApplication;
import cn.reghao.devops.mgr.admin.db.repository.EmailAccountRepository;
import cn.reghao.devops.mgr.admin.db.repository.NotifyReceiverRepository;
import cn.reghao.devops.mgr.admin.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 = MgrApplication.class)
@RunWith(SpringRunner.class)
public class MessageTest {
    @Autowired
    NotifyReceiverRepository notifyReceiverRepository;
    @Autowired
    EmailAccountRepository emailAccountRepository;
    @Autowired
    NotifyService notifyService;

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