package com.chy.borrow;

import com.chy.borrow.service.TmpCodeService;
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.junit4.SpringRunner;

/**
 * @author ：沈晔浩
 * @date ：Created in 2022/3/10 15:40
 * @description：
 */
@RunWith(SpringRunner.class)
@SpringBootTest
public class SpringTest {
    @Autowired
    TmpCodeService tmpCodeService;
    @Test
    public void contextLoads() {
        System.out.println(tmpCodeService.list());
    }
}
