package com.ruoyi;

import com.ruoyi.system.domain.form.MdFormTemplate;
import com.ruoyi.system.domain.form.params.FormTemplateQuery;
import com.ruoyi.system.service.form.FormTemplateManager;
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;

import java.util.List;

/**
 * @author condey
 * @version $$package: com.ruoyi, v 0.1 2024/7/4 3:22 PM condey Exp $$
 */
@RunWith(SpringRunner.class)
@SpringBootTest
public class FormTemplateTest {

    @Autowired
    private FormTemplateManager formTemplateManager;


    @Test
    public void testTemplateList() {
        List<MdFormTemplate> templates = (List<MdFormTemplate>) formTemplateManager.queryAll(new FormTemplateQuery());
        System.out.println(templates.size());
    }
}
